Reply to Re: [PHP] extracting foo.bar from path/to/file.php/foo.bar

Your name:

Reply:


Posted by "Richard Lynch" on 10/21/22 11:31

On Fri, November 4, 2005 8:59 am, Leonard Burton wrote:
> What do I need to do to extract foo.bar from path/to/file.php/foo.bar
>
> $_SERVER['REQUEST_URI'] will return the whole string but is there
> anything more direct than doing a regex and 'REQUEST_URI'?

http://php.net/basename
http://php.net/phpinfo

Look at output of phpinfo() and use browser "Find" to find what you
want in a sample script. Then you know where PHP stores it.

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original 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

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