Re: header() not working?

From: Date: Mon, 12 Dec 2016 10:51:15 +0000
Subject: Re: header() not working?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-325890@lists.php.net to get a copy of this message
Tedd Sperling wrote: > >> On Dec 10, 2016, at 10:25 AM, Ryan Pallas <derokorian@gmail.com> >> wrote: >> >> You have output before header call. If you turned on error_reporting >> ike Chris mentioned, you would see that output had already started. >> Specifically this line is output: >> >> print_r($_POST); >>> > > Ok, so I took the print_r() out — so now what’s the problem? It still > doesn’t work. > > The point of all this is it (the code “as-is”) has been working for > the last 8 years — so why does it fail now? The obvious answer is - something changed. FWIW, your code works for me. Apache 2.2, php 5.3.5, various browsers. http://www.jessen.ch/tedds -- Per Jessen, Zürich (5.6°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland.

« previous php.general (#325890) next »