Re: IE and '404 not found' custom script
| From: | Andrew Brampton | Date: | Tue, 11 Sep 2001 01:14:48 +0000 |
| Subject: | Re: IE and '404 not found' custom script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66834@lists.php.net to get a copy of this message | ||
you said you added some headers, how about padding the html out with
but I'm not sure what you are doing here, so that may not apply/work :)
Andrew
----- Original Message -----
From: "Enrique Vadillo" <enrique_vadillo@hotmail.com>
To: <php-general@lists.php.net>
Sent: Tuesday, September 11, 2001 1:56 AM
Subject: [PHP] IE and '404 not found' custom script
> Hi,
>
> I'd like to execute a php script which does *not always* display HTML
> everytime a file is not found.
>
> IE requires that a custom errmsg be over 512 bytes in order to
> display it instead of the internal one, my ErrorDocument script will
> look for any 'not found' file somewhere else (in blob records in
> some database in this case), do other stuff and eventually display
> the file requested, never modifying the URL typed by the user.
>
> GIF Woes: The problem i have encountered is that sometimes the
> requested file is just a very small GIF < 512 bytes and my script
> is anyhow discarded by IE while with Netscape it ALL works fine.
>
> I tried adding more than 512 bytes sending many long headers thru
> the PHP Header() function but it does not seem to work, i can't add
> different headers since my script displays sometimes GIFs and other
> binary data, not text.
>
> Question: how can i force IE display my ErrorDocument 404 php script
> in this case? has anyone encountered this problem before?
>
> thanks.
>
> Enrique-
>
>
>
> _________________________________________________________________
> Descargue GRATUITAMENTE MSN Explorer en
> http://explorer.msn.es/intl.asp
>
>
> --
> 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
>
>