Re: Problems with the Header function
| From: | Yasuo Ohgaki | Date: | Fri, 30 Mar 2001 10:07:27 +0000 |
| Subject: | Re: Problems with the Header function | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6391@lists.php.net to get a copy of this message | ||
According to RFC, Location header need to be absolute URI.
(Most browsers accept relative URI, though.)
Refer to RFC.
--
Yasuo Ohgaki
""Hugo Alexandre Almeida Soares Dias"" <anikin@ip.pt> wrote in message
news:20010329211518.19235.qmail@webmail.ip.pt...
>
> Hi there,
>
> I'm using PHP with Windows 2k Adv. Server (IIS).
>
> I'ma having a problem in some executions of the function Header. Sometimes
> it returns me an error. I.E.
> header("Location: alertas.php?erro=3&ti&tip=$tip");
> exit;
>
> i got this error:
> CGI Error
> The specified CGI application misbehaved by not returning a complete set of
> HTTP headers. The headers it did return are
>
>
> Once more i say that this error only occurs sometimes and not always. I
> don't send anykind of HTML before the Header function not even a blank
> space.
>
> As i'm having a co-worker with this problem too, and he isn't registered in
> the ML (YET) in the reply add as a CC artur@mni.pt
>
> Thank you.
>
>
> Hugo Dias
> Web-programmer
> MNI - Médicos na Internet
> www.mni.pt
> www.saudenainternet.pt
> www.listamedica.com
> MNI- Um mundo de médicos
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>