Jump to content

Archived

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

Bbliksted

How to pass hidden variables when using header(location:...)?

Recommended Posts

Hello

I'm relatively new to php... I'm trying to pass variables when using a page redirect header(location:page.php)
I know how to pass visible variables, something like:
  header(location:page.php?var=7)

but is there a way to pass the variable in a hidden form?

Share this post


Link to post
Share on other sites
if you dont ant to pass the variables in the url use a session or a cookie.

Share this post


Link to post
Share on other sites

×

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.