Re: [PHP] header() not working?
- Date: Sun, 11 Dec 2016 22:37:20 +0300
- From: Andrey Repin <anrdaemon@xxxxxxxxxxx>
- Subject: Re: [PHP] header() not working?
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@xxxxxxxxx> 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:
> 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@xxxxxxxxxxx>
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php