RE: [PHP] URL thing
| From: | Zareef Ahmed | Date: | Wed, 03 Nov 2004 08:20:39 +0000 |
| Subject: | RE: [PHP] URL thing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200997@lists.php.net to get a copy of this message | ||
Hi,
You may use $_SERVER['REQUEST_URI'];
Zareef ahmed
-----Original Message-----
From: Kevin Javia [mailto:kevin@renderhorizon.com]
Sent: Wednesday, November 03, 2004 1:43 PM
To: php-general@lists.php.net
Subject: [PHP] URL thing
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.
$PHP_SELF gives only page name.
Can any one help me?
Thanks.
------------------------------------------------------------------------
--
Zareef Ahmed :: A PHP develoepr in Delhi ( India )
Homepage :: http://www.zasaifi.com