RE: [PHP] 404 error

From: Date: Mon, 24 Sep 2001 08:08:22 +0000
Subject: RE: [PHP] 404 error
Groups: php.general 
Request: Send a blank email to php-general+get-68488@lists.php.net to get a copy of this message
But how did you get the PHP code to run if the file doesn't exist? If a file with a php extension is requested Apache thinks the error returned by the PHP parser is a valid response to the request and auto_prepend only seems to work after the parser has got the file for parsing. I've tried everything I can to solve this. Has no-one else out there found this a problem? Tim Ward ---------- From: Richard Baskett [SMTP:rick@baskettcase.com] Sent: 23 September 2001 22:22 To: Christian Reiniger Cc: PHP General Subject: Re: [PHP] 404 error Thank you :) Yeah someone mentioned using phpinfo() to figure out what I wanted and it worked beautifully and $REQUEST_URI was indeed the one I needed. Thank you! Rick > On Sunday 23 September 2001 20:46, Richard Baskett wrote: >> I don't think I said it clear enough :) Sorry abou that. This is what >> I did: >> >> <? >> echo "Page with error: $HTTP_REFERER<br>"; >> echo "Error Link: $PHP_SELF"; >> ?> > > Try $REQUEST_URI > > -- > Christian Reiniger > LGDC Webmaster (http://lgdc.sunsite.dk/) > > Those who will not reason, are bigots, > those who cannot, are fools, > and those who dare not, are slaves. > > - George Gordon Noel Byron (1788-1824), [Lord Byron] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#68488) next »