INPUT type=file value=????
| From: | (Al) | Date: | Mon, 20 Aug 2001 20:31:40 +0000 |
| Subject: | INPUT type=file value=???? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63564@lists.php.net to get a copy of this message | ||
I realize that this isn't a PHP issue, but I'd like find out they
why's/wherefore's of this:
The W3C HTM 4x spec(s) say that when using the file type on a form
input element, "User agents may use the value of the value attribute
as the initial file name."
I can't get Mozilla, Netscape, nor IE to do this. Here's my code:
<FORM ENCTYPE="multipart/form-data" ACTION=<?=$PHP_SELF?>
METHOD="POST">
Attachment #1: <INPUT NAME="s_attachment" TYPE="file"
VALUE="d:\\test.txt">
<INPUT TYPE="submit" VALUE="Send File">
</FORM>
The wrapped lines do have a space in front of them.
Is this an oversight, did I miss something in the docs, or have I done
something really stupid?
-Al