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


>From: "YC Nyon" <[EMAIL PROTECTED]>
>I want to pass the current url (appearing on the browser address bar), say
> 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 
>seem to get the one needed.
>PHP General Mailing List (
>To unsubscribe, visit:

Send and receive Hotmail on your mobile device:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to