Re: URL thing
| From: | Jason Wong | Date: | Wed, 03 Nov 2004 16:22:01 +0000 |
| Subject: | Re: URL thing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200996@lists.php.net to get a copy of this message | ||
On Wednesday 03 November 2004 08:13, Kevin Javia wrote:
> How can I get the URL in the address bar in any variable?
>
> If URL is
> "http://www.mysite.com/page.php?var1=12&var2=hello+world",
> I want
> to store it in any variable in my code.
print_r($_SERVER) and pick the one most suitable.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
In my end is my beginning.
-- Mary Stuart, Queen of Scots
*/