Hi,
I am running an apache PHP 4 server on windows and i would like to protect certain pages with a password. The password would be entered from an HTML document, e.g.
<form action="pwordpro.php">
Username: <input type="text" name="user">
Password: <input type="password" name="pword">
<input type="submit" value="Submit">
</form>
Would i be able to have multiple users logging in with different usernames and passwords?
If so how would i be able to update this?
Using MySQL?
After a correct logging in i would like it to redirect you to an HTML document named 'indexuser.html' and after an incorrect login i would like it to redirect to a page named 'badlogin.html'
I would be greatful if you could get back to me A.S.A.P
By the way if you are thinking why i am such a novice, it is because i am only 15! Try my website out at: http://www.urbaninfluence.f2s.com
Thankyou,
Max Slade