[PHP] Poblem with sesions

2007-02-19 Thread Ashish Rizal
Hi , I am having problem with log in and log out . I have a main login page where one can login with the username and password stored in mysql database. PHP Code: location.href='$adminAddress'; exit(); } else if ($accesslevel == "user") { $_SESSION['level'] = "user"; $_SESSION['username'] = $_P

[PHP] Help with sessions on Log in and Log out

2007-02-17 Thread Ashish Rizal
I am having some problem working with my script on session stuffs. Well, i have a login page which authenticates users by using sql script then if login is successful i have PHP Code: $_SESSSION['logged in']=true; and $_SESSION[userid]=$userid and when login is true i have included the page bas

[PHP] Problem Directing the Page with header

2007-02-15 Thread Ashish Rizal
Hi, I am having problem with redirecting the page in user authenication page . I am working on my windows machine as a localhost with PHP Version 5.2.0. Everything is working good in local machine (in Windows) but now when i tried to upload the same code to the server which is using PHP Version 5.1