Use: 
 
$HTTP_HOST
 
it will give you the typed in URL.
 
Jim Hunter
 
-------Original Message-------
 
From: DaMouse
Date: Tuesday, October 29, 2002 02:16:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] 404 documents
 
I there a way to have the .php page pickup the url that was typed in e.g.
usertype= www.mydomain.com/wRongurl

$_SERVER[FILE_NOT_FOUND] = www.domain.com/wRongurl

echo "The lost page was: $_SERVER[FILE_NOT_FOUND]";


Reply via email to