I am currently making a basic site. I want to create a password that is stored in a password file, where the user name is encoded using ASCII. I then want to make a password box using PHP, that when the correct password is entered, it takes you to another page.
I have two questions:
A file called test, which is in the PHP script, links to a password file called tdqq.php
I hope you can work this question out.
~Edit-
I just looked at hackthissite, and they pretty much have what I want. They have a password file set up, which included the password. This is linked by code on the page, but the file path is unseen, as is the name. Yet when the password is entered the page moves to a new site. The name of the password file in encrypted. How does that protect it?
The code is:
<form action="/missions/basic/8/level8.php" method="post">
<input type="text" name="name" /><input type="submit" value="submit" /></form>
</center><br /><br /><center><b>Password:</b><br />
<form action="/missions/basic/8/index.php" method="post">
<input type="password" name="password" /><br /><br />
<input type="submit" value="submit" /></form>
How do I do this?