Reply to Re: Return current page and variables: $PHP_SELF dose not do it.

Your name:

Reply:


Posted by Karl Groves on 06/09/06 16:13

Henrik Hansen <spam@fsck.dk> wrote in news:87hd2ulrk4.fsf@fsck.dk:

> "the DtTvB" <mechakoopa@gmail.com> writes:
>
>> Henrik Hansen wrote:
>>> I think you want $_SERVER["PHP_SELF"] . $_SERVER["QUERY_STRING"]
>>
>> I use $_SERVER["PHP_SELF"] . ($_SERVER["QUERY_STRING"] != '' ? '?' .
>> $_SERVER["QUERY_STRING"] : '')
>>
>
> Right, thats probably more correct, if the query string is empty at
> times ..
>


Is the above method better or worse than $_SERVER['REQUEST_URI'];


--
Karl Groves
www.karlcore.com

[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

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