passing variables between pages without using sessions
Moderator: General Moderators
passing variables between pages without using sessions
how do i pass a variable $m from one page to any other without using session().
PHP Manual FAQ example 3
this is the error i get
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
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
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
it's not allowed because it says something like "headers already sent" 
If so, read our header already sent tutorial
viewtopic.php?t=1157
edit: that looks like a problem with your coding..
If so, read our header already sent tutorial
edit: that looks like a problem with your coding..