Joe wrote
> Use dirname() function to find which directory the file is in.
Chris Lee wrote
> echo "$PHP_SELF \n";
That's it! dirname($PHP_SELF) is exactly what I need. Thanks!
Marx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
How can I detect the directory where my file is in? i.e. I want the same
file to do something different depending on where it is located. Is there a
function for that?
Thanks for the attention!
Marx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
2 matches
Mail list logo