You are here: Re: [PHP] SCRIPT_NAME « PHP « IT news, forums, messages
Re: [PHP] SCRIPT_NAME

Posted by Minuk Choi on 10/22/05 02:58

.... what, the off by one error?

Hey, I was just providing suggestion off the top of my head. :-P

-Minuk

Robert Cummings wrote:

>On Thu, 2005-10-20 at 23:27, Minuk Choi wrote:
>
>
>>Off the top of my head...
>>
>>$filename = $_SERVER['PHP_SELF'];
>>
>>$strippedFilename = substr($filename, strrpos($filename, '/'));
>>
>>
>
>Won't work, I'll leave the reason as an exercise :B
>
>Cheers,
>Rob.
>
>

 

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

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