Quoting Sebastian Bergmann <[EMAIL PROTECTED]>:

>   <?php echo __FILE__; ?> works fine here. Or do you meant something
> else, Chuck?

The value is set; it's just missing all path delimiters. So if the file is
actually /var/www/foo/bar.php, echo __FILE__ gives me "varwwwfooobar.php".
Which means that dirname(__FILE__) returns incorrect results.

-chuck

--
"My intuitive grasp of math often leads me astray." -me

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to