hi i have a problem with a script i am running
here it is
<code>
<form enctype="multipart/form-data" action="files.php" method="post" name="upfiles">
Upload:
<br />
<input type="file" name="userfile_0" style="position:absolute;" onChange="document.upfiles.fakeuserfile_0.value=this.value"><br>
<input type="text" name="fakeuserfile_0">
<input type="button" style="height:19px" onclick="document.upfiles.userfile_0.click();return false;" value="Browse...">
<br />
<input type="hidden" name="login" value="true">
<input type="hidden" name="c" value="file_upload">
<br />
<input type="submit" value="Send File" name="submit">
</form>
</code>
now it works up untill i hit submit then it clears the text in the <in.. file> box if you use the button i put in if you use the real <in... file>'s button it will wort fine if you hit submit???????????
you can see what it dise @ (this is not the real scrip just the output of it)
any ideas??
Thanks Don
here it is
<code>
<form enctype="multipart/form-data" action="files.php" method="post" name="upfiles">
Upload:
<br />
<input type="file" name="userfile_0" style="position:absolute;" onChange="document.upfiles.fakeuserfile_0.value=this.value"><br>
<input type="text" name="fakeuserfile_0">
<input type="button" style="height:19px" onclick="document.upfiles.userfile_0.click();return false;" value="Browse...">
<br />
<input type="hidden" name="login" value="true">
<input type="hidden" name="c" value="file_upload">
<br />
<input type="submit" value="Send File" name="submit">
</form>
</code>
now it works up untill i hit submit then it clears the text in the <in.. file> box if you use the button i put in if you use the real <in... file>'s button it will wort fine if you hit submit???????????
you can see what it dise @ (this is not the real scrip just the output of it)
any ideas??
Thanks Don