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 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php