Login Scripts

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
SXL WEB
-


Joined: 13 Nov 2002
Posts: 28
Location: Elmira, NY - a small pleace from hell

PostPosted: Mon Feb 10, 2003 5:53 pm    Post subject: Login Scripts Reply with quote

can some one help me im trying to make a non sql login script so users can login (MEMBER SCRIPT)

i made a user.php file and each user has a line with infomation ie

" datejoined|name|username|password|email|gender|siteurl|sitename|sn "

above is what my user.php file looks like can some one help me with the bottom code i need to make it fit my user.php file so users can login
WHAT SHULD I DO TO IT

<?
If ($submit) {
if (!$user || !$pass) {
echo "Please fill in both of the fields.";
return;
}
if ($user == "username" && $pass == "password") {
}
?>
Welcome <? echo $username ?> the date is <? echo $date ?>
?>
return;
} else {
echo "Incorrect User/Password combination.";
return;
}
} else {
?>
HTML
<?
}
?>
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group