[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: ?php session_start(); //ob_start(); require_once 'functions.php'; $UserName = $_POST['UserName']; $Password = $_POST['Password'];

[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

[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