Can register_globals be set just for that directory or virtual host in .htaccess or something like that.
I am no expert so sorry if this is rubbish, just a thought. Adrian Message: 5 Date: Wed, 8 Jan 2003 09:53:22 -0500 From: Sam Carleton <[EMAIL PROTECTED]> To: Subject: folks, I am sure this Q has been asked before, but the mailing list search engine doesn't seem to work for me:( I am new to SquirrelMail. Everything is up and running fine. I am running PHP 4.2.3 on Apache 1.3.27 on a UNIX machine. The only problem I have is that I am seeing this warning: 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 When I looked into the whole register_globals issue ; Whether or not to register the EGPCS variables as global ; variables. You may want to turn this off if you don't want to ; clutter your scripts' global scope with user data. This makes ; most sense when coupled with track_vars - in which case you ; can access all of the GPC variables through the ; $HTTP_*_VARS[], variables. You should do your best to write ; your scripts so that they do not require register_globals to ; be on; Using form variables as globals can easily lead to ; possible security problems, if the code is not very well ; thought of. register_globals = Off Being new to PHP, I would prefer NOT to turn this on. What should I do? Sam ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
