Re: [PHP] Detect directory

2001-01-26 Thread Marx Gomes
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

[PHP] Detect directory

2001-01-26 Thread Marx Gomes
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