View Single Post
Old 03-01-2008, 11:51 AM   #5 (permalink)
lesP
The Contributor
Newcomer 
 
Join Date: Jan 2008
Posts: 27
Thanks: 1
lesP is on a distinguished road
Default

Quote:
Originally Posted by Alan @ CIT View Post
What happens if you echo $_SESSION['id'] though? Your if() check looks to see if $_SESSION['id'] is set. If it isn't, it redirects you to login.php. Since you are getting redirected there is a good chance that $_SESSION['id'] isn't set

Alan
Okay. But I can run the script when I am "logged in", but as soon as I run the form when I am logged in, i am getting redirected.
lesP is offline  
Reply With Quote