firedrop84 Posted May 26, 2006 Share Posted May 26, 2006 I have been using all the way a software called XAMPPLite to develop a website. I have almost finished it so I have sent all the SQL script and the files to an IT Manager of some business so they upload it into their server. The IT Manager he replied and he said that he uploaded everything but there are SQL errors. one of the errors is 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 0this is eror displays when I try to login. does anyone have idea about this error massage. Quote Link to comment https://forums.phpfreaks.com/topic/10530-session-warning-massage/ Share on other sites More sharing options...
poirot Posted May 26, 2006 Share Posted May 26, 2006 This means exactly what's written. You should either enable register_globals or edit or script for register_globals off (for example, by using $_SESSION['variable1'] instead of $variable1 Quote Link to comment https://forums.phpfreaks.com/topic/10530-session-warning-massage/#findComment-39283 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.