pls help me :-)

From: Date: Sun, 04 May 2003 05:55:14 +0000
Subject: pls help me :-)
Groups: php.general 
Request: Send a blank email to php-general+get-146327@lists.php.net to get a copy of this message
Hi, Okay, this function is used to set or print the current value of the expire. Its set on your php.ini by default to 180 minutes and yes, new values are in minutes too. If you need any more help you are free to mail me. that the session_cache_expire() but i should need something to set my sessions to never to die so instead of using cookies just let the session alive , also when closing browser is that possible ? i work like this a bit noob but it works :-) <?PHP ob_start(); session_start(); if($_SESSION["toegang"]=="jawhol") { } and maybe if you find the time is this safe ? <?PHP ob_start(); session_start(); include('pages/inc.php'); $login=$_POST["naam"]; $pas=$_POST["passw"]; $query = "SELECT * FROM noobregist WHERE login = '$login' and paswoord = '$pas'"; $res = mysql_query($query); $count = mysql_num_rows($res); if ($count != 0) { $_SESSION["toegang"]="jawhol"; session_register("login"); header("Location:index.php?page=pages/ingelogt"); } else { header("Location:index.php?page=pages/inlog"); } ?> if you can help me out here i will be very very thankfull :-) i hope you understand my english :-)

« previous php.general (#146327) next »