Re: [PHP] header() not working?
- Date: Sun, 11 Dec 2016 23:11:36 +0000
- From: "Jim Lucas" <lists@xxxxxxxxx>
- Subject: Re: [PHP] header() not working?
December 10 2016 7:23 AM, "Tedd Sperling" <tedd@xxxxxxxxxxxx> wrote:
> Good consideration, but that’s not the problem.
> Here’s the URL and code, try it yourself:
Since that is a school server, I'm going to guess that you don't have access to that servers configuration.
I lieu of server configuration access, the simple way of seeing if output is being sent, is to issue "print(headers_sent());" just before your call to header().
Then, if the headers have been sent, I would look at the your phpinfo() output and scan for the current value of output_buffers. More than likely someone modified the server settings (possibly an upgrade?) and this is simply an unforeseen side effect of them doing so.
Hope this helps
C - 5414085189
H - 5413234219
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php