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
This is occuring as a result of some security fixed which went into php with version 4.4. The intention is to prevent the direct transfer of global variables into the session array when register_globals is turned off. An example snippet of code which might cause this to happen is:
$_SESSION['firstname']=$_REQUEST['firstname'];
$_SESSION['lastname']=$_REQUEST['lastname'];
$_SESSION['position']=$_REQUEST['position'];
$_SESSION['email']=$_REQUEST['email'];
$_SESSION['landline']=$_REQUEST['landline']; $_SESSION['phone']=$_REQUEST['phone'];
$_SESSION['login']=$_REQUEST['login'];
$_SESSION['password']=$_REQUEST['password'];
The quickest way around this restriction (without turning on register_globals is to move the data over in two stages:
$firstname=$_REQUEST['firstname'];
$lastname=$_REQUEST['lastname'];
$position=$_REQUEST['position'];
and then
$_SESSION['firstname']=$firstname;
$_SESSION['lastname']=$lastname;
$_SESSION['position']=$position;
And there you have it.
Just cheat your way around and PHP is happy again... Crazy, huh?!
christo