Thread: Log in help
View Single Post
Old Jun 24th, 2005, 9:46 PM   #5
foxcity911
Programmer
 
Join Date: Jun 2005
Location: Queensland
Posts: 37
Rep Power: 0 foxcity911 is on a distinguished road
learn php

you could either put the username and password on the page itself, but that isnt secure at all but easy, or you could link it to a database. you have to make watever is typed into the user and pass txt boxes equal variables such as $user or $pass respectively. no DB means you could say
if ($user == john, $pass == smith) {

//code that redirects to the members area

}

that is the easiest way of making a 'login' of sorts.
but i think you should learn some php because if you dont know the basics you are screwed even doing it the easy way.
foxcity911 is offline   Reply With Quote