|
Posted by rithish on 03/01/06 09:12
Hello.
We are on PHP 5.0.2 LINUX system. Since an hour ago, the function
basename() started resulting inconsistent values.
[snippet]
print ( "dirname - " . dirname ( __FILE__ ) . "<br>\n" );
print ( "basename - " . basename ( __FILE__ ) . "<br>\n" );
[/snippet]
The 'dirname()' returns proper results everytime. However, 'basename()'
sometimes returns the proper result, and sometimes nothing. This
started happening since this morning. Till then everything was working
fine. What could ever be the problem?
Regards,
Rithish.
Navigation:
[Reply to this message]
|