Another way to send variables
| From: | R B | Date: | Fri, 13 Jun 2008 21:49:55 +0000 |
| Subject: | Another way to send variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-275367@lists.php.net to get a copy of this message | ||
Hello.
I have this script (script1.php):
<?php
$a = "Hello";
header("Location: script2.php");
?>
I need to send the $a variable to script2.php, but i don´t want to send it
in the url.
Is there another method?
Maybe with another header instruction without putting in the url?
Thank you.