Re: change URL variables
- From: abscons@xxxxxxxxx
- Date: 28 Feb 2007 05:59:17 -0800
On Feb 28, 8:57 am, Sjoerd <sjoerd-n...@xxxxxxxxxxxx> wrote:
absc...@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.variable...
Thx.
I tried the REQUEST_URI but didn't work. I'll look at your link and
update when I go back to my project. Thx.
.
- References:
- change URL variables
- From: abscons
- Re: change URL variables
- From: Sjoerd
- change URL variables
- Prev by Date: Re: change URL variables
- Next by Date: SoapClient: __doRequest doesn't get XML SOAP Request in its $request parameter?
- Previous by thread: Re: change URL variables
- Next by thread: Re: change URL variables
- Index(es):