Re: change URL variables
- From: Sjoerd <sjoerd-news@xxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 14:57:03 +0100
abscons@xxxxxxxxx wrote:
Hi out there,
I have an url that looks like this: http://host/file?var=value.
I am trying to replace the "value" part in my url and assign it to a
link on my page. I tried to parse the url but can only get the part
before the ? not included.
Is there any way to do so?
Yes. What do you have so far? Have you looked at $_SERVER[QUERY_STRING] and $_SERVER[REQUEST_URI]?
http://nl3.php.net/manual/en/reserved.variables.php#reserved.variables.server
.
- Follow-Ups:
- Re: change URL variables
- From: abscons
- Re: change URL variables
- References:
- change URL variables
- From: abscons
- change URL variables
- Prev by Date: Re: drawing images and text
- Next by Date: Re: change URL variables
- Previous by thread: change URL variables
- Next by thread: Re: change URL variables
- Index(es):