Sending headers to server
| From: | Miguel Guedes | Date: | Thu, 01 Aug 2013 14:04:58 +0000 |
| Subject: | Sending headers to server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-321749@lists.php.net to get a copy of this message | ||
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?