[PHP] register_globals not enabled

Need help with C, C++, perl, python, etc?

[PHP] register_globals not enabled

Postby mark » 2004-03-09 19:32

Just starting with PHP so it can be a realy lame question. But I'm going to ask it anyway:

How can I enable register_globals? I get the following error message:

    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. in Unknown on line 0


Merci
mark
 
Posts: 37
Joined: 2004-02-15 22:28

Postby mark » 2004-03-10 18:53

You can change register_globals in /etc/php4/apache/php.ini
BUT DON'T DO THAT (security isseu!)

Please read this
mark
 
Posts: 37
Joined: 2004-02-15 22:28


Return to Programming

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable