Jump to content

Posting data with header()


r_honey

Recommended Posts

In my script, sample.php, for the following redirection:

 

header("Location: anotherPage.php?isValid=true");

 

isValid is passed to anotherPage.php in the URL, so has to be retrieved using Get.

The only thing I want to change for the above redirection is that I want to pass the value isValid using Post, so that it is invisible to the user.

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.