I am a bit confused by writing or using my user functions.
The only way I know at the moment to call my own functions is to put them in
one file with the main program.
this example comes from http://de.php.net/manual/de/functions.php
<?php
function foo($foo, $bar = "bar")
{
echo $foo.$bar;
}
echo foo("foo");
//gives: foobar
echo foo("foo","bar2");
//gives foobar2
?>
I would prefer one file one function. How could I do this or is this
absolutly wrong to do it this way. How did php know where to look for a
user function.
regards
Reimar
--
Forschungszentrum Juelich
email: R.*****@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
================================================== ================
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/i...lib_intro.html