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