Hi,

  You may use $_SERVER['REQUEST_URI'];


Zareef ahmed 


-----Original Message-----
From: Kevin Javia [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 03, 2004 1:43 PM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to