You are here: basename() returns blank? « PHP Programming Language « IT news, forums, messages
basename() returns blank?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация