Re: Sending headers to server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 1, 2013 at 4:04 PM, Miguel Guedes <miguel.a.guedes@xxxxxxxxx>wrote:

> Hello List,
>
>
> I'm running PHP 5.4.9 as CGI (via apache 2.2.22) and can't seem to be
> able to send headers to the server.
>
> Both,
>
> header('Status: 500 Internal Server Error');
>
> and,
>
> header('HTTP/1.1 500 Internal Server Error', true, 500);
>
> result in nothing happening on the client side.
>
> What am I missing?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Did you print some data before using header?

- Matijn

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux