[PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Valentin
Hi, is any way to pass a $Var from one to other php pages without using FORM and Cookies? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Robert Cummings
Use the GET method (URL parameters). If you want to pass (foo=5) then do the following: a href=www.mySite.org?foo=5 A link label /a Cheers, Rob. On Wed, 2003-07-16 at 12:44, Valentin wrote: Hi, is any way to pass a $Var from one to other php pages without using FORM and Cookies? Thanks,

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread John Manko
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

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Valentin
Thank you Robert! But, I forgot to mention... and without URI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Valentin
Thanks John! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Jeff Harris
|Valentin wrote: | |Hi, is any way to pass a $Var from one to other php pages without using |DEFANGED_FORM and Cookies? | |Thanks, | On Jul 16, 2003, John Manko claimed that: |page1.php |$_SESSION['myvars_VARNAME'] = $varname; |the 'myvars_' is just for identification purposes, so avoid

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread John Manko
why not build a GET QUERY_STRING, save it in a database along with the session_id, the read it on the second page, parsing the string. Jeff Harris wrote: |Valentin wrote: | |Hi, is any way to pass a $Var from one to other php pages without using |DEFANGED_FORM and Cookies? | |Thanks, | On Jul