Re: Sending headers to server

From: Date: Thu, 01 Aug 2013 14:40:20 +0000
Subject: Re: Sending headers to server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-321750@lists.php.net to get a copy of this message
Hi MiguelOn 08/01/2013 04:04 PM, Miguel Guedes 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? > Works for me. What happens exactly? Do you get a 200? Karim -- Karim Geiger Auszubildender Fachinformatiker AE B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.general (#321750) next »