Hi. I'm currently using a form to get a file:
<form enctype="multipart/form-data" action="restore.php" method="post" name="upload" id="upload">
<input type="file" name="file"/><br/>
<input type="submit" name="Submit" value="Submit" />
</form>
But this is very unnecessary because the rest of the code is PHP and has no output to display. Is there a way to just get a javascript prompt to select the file and then pass the variable to the php as done with this?
Thanks