[PHP] Re: Session 4.2.2
If you encounter any problem with session variables, it may not caused by session. An important change between 4.2.0 or above and versions below is that the 'register_globals' directive will be set Off by default in 'php.ini' file. So you can't access session variables (e.g. $var) directly, instead of $_SESSION[var]. Also for HTTP get, post, cookie variables. Hope it helps. Breno Cardoso Perucchi [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I would like to know if there are any changes on session of PHP between the version 4.1.0 and 4.2.2? Thanks. Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Session 4.2.2
Hi, Do you have an example? Thanks. Breno Cardoso Perucchi [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I would like to know if there are any changes on session of PHP between the version 4.1.0 and 4.2.2? Thanks. Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Session 4.2.2
Just edit your 'php.ini' file, if 'register_globals = Off', then set it to On. It will solve a lot of problems if you are learning PHP from examples. Breno Cardoso Perucchi [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Do you have an example? Thanks. Breno Cardoso Perucchi [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I would like to know if there are any changes on session of PHP between the version 4.1.0 and 4.2.2? Thanks. Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php