Oh, no don't worry. I expect even longer. Well I just started learning PHP, and I just made a log-in form, just a simple PHP log-in form. So it has no sessions or cookies. I honestly just started learning PHP today, the code I created is:
Code:
<html>
<head />
<body>
<form action="index.php"method=POST>
Username: <input type=text name=user><br />
Password: <input type=password name=pass><br />
<input type=submit value="OK!"><p>
</form>
<?php
$user=$_POST('user');
$pass=$_POST('pass');
if (($user==".Joe. && ($pass=="MyPass")) echo "Access Granted"
else echo "Access Denied!";
?>
</body>
</html>
Do you think I'm on the right track on progressing through and learning PHP?
I'm getting a pretty good understanding on variables, 'if' and 'else' statements, and echo's, etc. I already had a good understand of HTML.
Can anyone explain 'GET' and 'POST' statements a bit more to me?