Re: Passing $Vars between 2 php pages
| From: | John Manko | Date: | Wed, 16 Jul 2003 15:59:17 +0000 |
| Subject: | Re: Passing $Vars between 2 php pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155452@lists.php.net to get a copy of this message | ||
page1.php
$_SESSION['myvars_VARNAME'] = $varname;
the 'myvars_' is just for identification purposes, so avoid over-writing anthing that you might not want to.
page2.php
$varname = $_SESSION['myvars_VARNAME'];
Valentin wrote:
Hi, is any way to pass a $Var from one to other php pages without using <FORM> and Cookies? Thanks,