Re: Reading URL in address bar

From: Date: Mon, 26 Aug 2002 18:29:42 +0000
Subject: Re: Reading URL in address bar
Groups: php.general 
Request: Send a blank email to php-general+get-114163@lists.php.net to get a copy of this message
CGI.referrer? are you a foxweb user? :-) you can use $_SERVER['REQUEST_URI'] for the page itself, plus (i think...) $_SERVER['SERVER_NAME'] if you need the hostname (of the server), too. check out http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server jerome
From: "YC Nyon" <ycnyon@pd.jaring.my> I want to pass the current url (appearing on the browser address bar), say http://www.mydomain.com?cat.php=234 to appear in a form field in the a new page, say category.php. I am sure it's something to do with HTTP_variables or CGI.referrer but can't seem to get the one needed. TIA Nyon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com

« previous php.general (#114163) next »