Re: header() not working?

From: Date: Sun, 11 Dec 2016 19:37:20 +0000
Subject: Re: header() not working?
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-325887@lists.php.net to get a copy of this message
Greetings, Tedd Sperling. In reply to Your message dated Saturday, December 10, 2016, 18:29:17, >> 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? Set in your relevant php*.ini error_reporting = -1 log_errors = On log_errors_max_len = 0 And it will tell you, what goes wrong. Don't sit on your laps, asking "why does it fail". Debug your code. -- Sincerely Yours, Andrey Repin <anrdaemon@freemail.ru>

« previous php.general (#325887) next »