Pass values to diferent php files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hmsg
Forum Commoner
Posts: 42
Joined: Sun May 14, 2006 9:48 am

Pass values to diferent php files

Post by hmsg »

Hi ppl

I have a script that redirects the url using the header() function. But i need to pass the value of a variable to the url where it will be redirected, but i need that this value passed hidden so i coul don't pass him by the GET method neither i have a form, is there any other way of making this? is possible to create a POST variable without a form?

Whit the best regards

Hugo Gomes
User avatar
dhrosti
Forum Commoner
Posts: 90
Joined: Wed Jan 10, 2007 5:01 am
Location: Leeds, UK

Post by dhrosti »

You might be able to use $_SESSION[''] variables.
Post Reply