RE: URL thing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

  You may use $_SERVER['REQUEST_URI'];


Zareef ahmed 


-----Original Message-----
From: Kevin Javia [mailto:kevin@xxxxxxxxxxxxxxxxx] 
Sent: Wednesday, November 03, 2004 1:43 PM
To: php-general@xxxxxxxxxxxxx
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux