Hallo,
habe folgende Warnung:
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
Ich mache folgendes:
In Script 1 schreib ich was in eine Session:
In Script 2 lese ich es wieder aus:
Register globals hab ich natürlich aus, allein schon, damit ich sehe, wann ich ein $_POST oder $_GET vergessen habe.
Aber wie mach ich das bei den Sessions sauber?
Danke und Grüße,
Coni
habe folgende Warnung:
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
Ich mache folgendes:
In Script 1 schreib ich was in eine Session:
PHP Code:
$_SESSION['notruf']=$notruf;
PHP Code:
$notrufneu=$_SESSION['notruf'];
Aber wie mach ich das bei den Sessions sauber?
Danke und Grüße,
Coni
Comment