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
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,
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
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
Thanks John!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|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
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
7 matches
Mail list logo