Edventures in Normalcy

Testing http header IP forwarding

Posted by Rose Bush on May 5th, 2015

I need to determine what the application sees versus what is being sent, these scripts helped me see the discrepancy and validate the change once resolved:

The above does allow you to force a post, as the original case was behind a caching server.

php Warning: Cannot modify header information

Posted by Rose Bush on November 20th, 2012

I received the error of “php Warning: Cannot modify header information”, and found the fix is to update my php.ini to include this:

I ‘could’ also set the variable in an include page, if my site was running PHP as a CGI.

Copyright © 2026 Edventures in Normalcy. All rights reserved.