You are here: Re: Question on php questionmark variables but slash instead « PHP Programming Language « IT news, forums, messages
Re: Question on php questionmark variables but slash instead

Posted by Janwillem Borleffs on 05/02/06 23:17

pspauthority@gmail.com wrote:
> notice the
>
> index.php/Main_Page
>
> it uses a slash, rather than a question mark.
>
> can someone please show me how to do this myself? It'd be appreciated
>

You can parse the $_SERVER['REQUEST_URI'] variable and, per example, parse
it as follows:

$arg = substr(
$_SERVER['REQUEST_URI'],
1 + strrpos($_SERVER['REQUEST_URI'], '/')
);


JW

 

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

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