... Ok, so I turned both of them off. Restarted my server... IT STILL DOES IT! I have no idea what the hell this means, but I turned it off. Only it didn't turn offWarning: 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
...
I've googled and googled and I've found a few places that say something about it, but no solutions. It says "warning," but it's pretty much fatal since it doesn't do anything. I should be logged in and taken to another page, but I'm not. It gives that warning and finishes the original page again.
My code is basically like this..
Code: Select all
session_start();
if (isset($_POST['user'])) $_SESSION['user'] = $_POST['user'];
if (isset($_SESSION['user']) && ...) $something = $_SESSION['user'];
//and so on. nothing outdated, nothing screwey.