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:
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
--
2 matches
Mail list logo