Random1225 Posted January 24, 2009 Report Posted January 24, 2009 (edited) Ok, I was making a very simple login where you just need the password. The password is in the file "password.php". Well, it doesn't matter what I put in it takes me to the site. Even if there's nothing in the box. How do I make it check if the password inputted is the same as the password in password.php? Here's the code I've written so far. <form action="indexx.php" method="post"> <input type="hidden" name="file" value="password.php"> <input type="password" name="password"><br /><br /> <input type="submit" value="submit"</form> Note: Yes I know the isn't really secure but It was just a very simple login that I would edit later. Edited January 24, 2009 by Random1225
SmokiestGrunl Posted January 28, 2009 Report Posted January 28, 2009 Um, thanks for the share i guess Its not a share, its help request. Is there only one password in the password.php or is there multiple?
iBotPeaches Posted January 28, 2009 Report Posted January 28, 2009 I don't know how to do it with simple HTML. I know a simple javascipt file could be used, but using it with PHP would be more advance.
iBotPeaches Posted January 28, 2009 Report Posted January 28, 2009 You could also just enter the password in value= then that would be the only password allowed. Also is your index really called indexx or is that typo? That would create an error if that was wrong.
Random1225 Posted January 28, 2009 Author Report Posted January 28, 2009 (edited) Is there only one password in the password.php or is there multiple?There's one password. It was just going to be that you needed to know what the password was or be smart enough to know how to get it to enter the site. You could also just enter the password in value= then that would be the only password allowed. Also is your index really called indexx or is that typo? That would create an error if that was wrong. I guess I'll do that and no its not a typo. Edited January 28, 2009 by Random1225
CLM MODDER Posted January 29, 2009 Report Posted January 29, 2009 i'll help you, i'm skilled in both forms of JavaScript and HTML
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now