ID: 27702 Updated by: [EMAIL PROTECTED] Reported By: rupan1982matrix at yahoo dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: windowsxp PHP Version: 4.3.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2004-03-25 14:53:58] rupan1982matrix at yahoo dot com Description: ------------ Hoi, i have installed apache 2.0.47 and php 4.3.4. Everything works except the session. page1.php <?php session_start(); session_register("valid_user"); // Give the session variable a value $_SESSION['valid_user'] = 1; ?> <a href="page2.php">Klik hier</a> page2.php <?php session_start(); // sorry, vergeten.. if($_SESSION['valid_user'] == 1) { echo "werkt"; } else { echo "niet"; } ?> when this code in same one page that it works ohterwise (in two different pages) it wont work. why? i have visual c++, norton antivirus, zonealaram firewaal installed. Is that a problem? do ik have to put someting in systemvariable? I dont know what to doe, please help me? THX, Rupan Reproduce code: --------------- dfg Expected result: ---------------- dfg Actual result: -------------- dfg ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27702&edit=1
