Re: 404 documents

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: 404 documents
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16614@lists.php.net to get a copy of this message
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: php-windows@lists.php.net 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]";

« previous php.windows (#16614) next »