-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* and then Cristian Cerda declared....
> Hi there, hope you can help me with my problem.
> 
> I'm trying to set up a PHP/MySQL web site using session variables to
> pass information between pages. So far no good.
> 
> I did set register_globals to On on the php.ini file. But when i use for
> example session_register("the_var") in one page ( using session_start()
> at the beginning), i don't get anything on the next page if i do echo
> $the_var .

Did you set your $the_var?

Like:

session_start();
session_register('the_var');

$the_var="is this the problem?";

- -- 

Nick Wilson

Tel:    +45 3325 0688
Fax:    +45 3325 0677
Web:    www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8ZCj4HpvrrTa6L5oRAoQJAJ91jzJYx0KV9Su+8/aJuoIURDNEYACeINDf
StxfV0PhCeYfeGNWM17XFOM=
=1Rrm
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to