Jump to content

*SOLVED* header()


firedrop84

Recommended Posts

What do you mean by other variables. If it is variables being passed through the url, ie page.php?var=value1&var2=value2 Then you'll need to place in the header redirect itself like so:
[code]header("page.php?var=value1&var2=value2");[/code]

If you have POST'd data from a form or any other variables then no you will need to either pass these over the URL or use a session to store these on the server and you'll be able to use them on the page that you are redirecting the usert to.

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.