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.
>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
>seem to get the one needed.
>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