Hallo!
Ich versuche mich a bisserl in Session einzuarbeiten und da hab ich ein Bsp-Script:
PHP-Code:
<?php
@session_start();
session_register('s_userName', 's_userPerm');
$s_userName = 'dtg';
$s_userPerm = 'nada';
?>
<html>
<body>
<h1>
Datei: <?php echo getenv('SCRIPT_NAME') ?>
</h1>
Es wurden Variablen in der Session registriert.
</p>
[url="sess.howto2.php"]Weiter ...[/url]
</body>
</html>
nur leider kommt die Fehlermeldung:
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
Was hat das zu bedeuten?
Gruß niesel