Posted by Toby Inkster on 07/07/06 06:52
Robert S wrote:
> <form action="test.php" method="post">
> <input type="submit" name="filename.txt">
> </form>
Why are you even passing the filename in a button's name?
Why not:
<form action=test.php method=post>
<div>
<input type=hidden name=myfile value="filename.txt">
<input type=submit>
</div>
</form>
??
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|