Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[PHP] register_globals not enabled

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
mark
Posts: 37
Joined: 2004-02-15 22:28

[PHP] register_globals not enabled

#1 Post by mark »

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

#2 Post by mark »

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

Please read this

Post Reply