Shaiju Davis wrote:
> Warning: Unknown(): Your script possibly relies on a session
> side-effect which existed until PHP 4.2.3. Please be advised
> that the session extension does not consider global variables
> as a source of data, unless register/globals is enabled. You
> can disable this functionality and this warning by setting
> session.bug/compat/42 or session.bug/compat_warn to off,
> respectively.

Just use session_start() and the $_SESSION superglobal, then you won't
see this warning.

Chris

-- 
Chris Shiflett
http://shiflett.org/
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to