$_GET["var1"] and $_GET["var2"] On Wed, 3 Nov 2004 13:43:16 +0530, Kevin Javia <kevin@xxxxxxxxxxxxxxxxx> 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. > > $PHP_SELF gives only page name. > > Can any one help me? > > Thanks. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php