Reply to Re: REQUEST_URI

Your name:

Reply:


Posted by John Dunlop on 12/14/06 09:18

Jeremy:

> I actually *don't want* the query string to be in there. In the past,
> using $_SERVER["REQUEST_URI"] has been a reliable way to submit back to
> the current page when mod_rewrite is messing with the URL (meaning using
> the current script path won't work). Now, it's not really working that
> well because it's including the current query string and messing things up.

Think twice about publishing two different URLs pointing to the
same resource.

You can separate the query part from the path part by looking for
the first question mark.

--
Jock

[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

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