Jump to content

header('location: ')


astralaaron

Recommended Posts

I am having a problem with this... I have a form that submits to action="" (itself), it then checks the google recaptcha result and uses header('location: submit_data.php?variables=asd&variable2=fdasf'); to send the variables on to the next page. I was noticing that sometimes the header would not fireoff, and then I realized that it only happens when there is a (\r\n) new line within the textarea in my form. if you remove the new line from the textarea, the header() works. the only way I can think of is to replace the \r\n with some character that can be switched back to \r\n on the next page..? any better suggestions?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...