Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End php form issue Reply To: php form issue

#176711
__
Participant

its possible they updated their php version and now its requiring the fully qualified Location header.

To clarify, it’s the header itself (the HTTP/1.1 protocol) that requires a fully qualified URL, not php’s header function. Other than associating certain keywords with HTTP response codes, I don’t believe php validates the headers you provide in any way.

It could be useful, however, to know what version of PHP your host upgraded to.

Also make sure you are not outputting any text to the page before setting the Location header.

This is actually fairly likely, though I couldn’t tell by looking at your unformatted code. If your host used to have an automatic output buffer configured, it’s possible that the problem existed all along but was hidden until now.