• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Help with Javascript...

Status
Not open for further replies.
Level 15
Joined
Aug 11, 2009
Messages
1,606
I need help with this fast if possible...

take a look at this...
PHP:
<center><b>Level 2</b></center><br />Network Security Sam set up a password protection script. He made it load the real password from an unencrypted text file and compare it to the password the user enters. However, he neglected to upload the password file...<br /><br /><center><b>Password:</b /><br />
          <form action="/missions/basic/2/index.php" method="post">
          <input type="password" name="password" /><br /><br />
          <input type="submit" value="submit" /></form>

Hope you understood the concept...

I have to use something like
PHP:
java script:void(document.forms[0].password.value=Mission2/upload.txt);alert(document.forms[0].password.value)

to upload a txt file from my comp to provide the password to this, the problem is that i'm not good with JavaScript and i am probably doing something wrong with the syntax.

Anyone can help me by showing me the proper code?
 
Status
Not open for further replies.
Top