user4fun Posted March 28, 2009 Share Posted March 28, 2009 what does this mean??Session registered under username = Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\www\check_for_membership.php:33) in C:\xampp\htdocs\www\check_for_membership.php on line 34Warning: 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 Link to comment Share on other sites More sharing options...
jlhaslip Posted March 28, 2009 Share Posted March 28, 2009 The first warning is because you are writing some html (or a blank line) to the browser before the header line.Post the code and we can check it out.The second one might be due to having register_globals set wrong. What does your php_info() report as the setting? Link to comment Share on other sites More sharing options...
justsomeguy Posted March 31, 2009 Share Posted March 31, 2009 That second warning normally shows up when you're using local, session, and possibly post variables with the same names. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.