Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

RE: [PHP] 404 error From: Tim Ward (tim.ward <email protected>)
Date: 09/24/01

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 <email protected>]
        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 <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail:
php-list-admin <email protected>
>
        

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>