Jump to content

POST Variables


The Little Guy

Recommended Posts

OK, I want to send post variables from script "a" to script "b" then back to script "a".

 

this sends the post data to from "a" to "b" then back to "a" just fine:

 

header("Location: ?a=register",TRUE,307);
exit;

 

The problem is, that I get an popup message saying:

 

This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?

 

If I press OK, then my POST data gets sent back to the original page, which is what I want, the only problem is that popup message. Anyone know of any tricks to remove that popup, yet still have the same effect?

Link to comment
https://forums.phpfreaks.com/topic/142586-post-variables/
Share on other sites

This is a browser security issue, either; do not use refresh or header redirects, or present people with information on why this is happening.

 

Its a browser security, and you shouldn't be able to change browser settings from your server lol, i dont think there is a way to change this.

Link to comment
https://forums.phpfreaks.com/topic/142586-post-variables/#findComment-747302
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.