|
Posted by Andy Hassall on 10/21/41 11:57
On Wed, 06 Sep 2006 19:59:45 GMT, sean <seanlock1@nospmam.blueyonder.co.uk>
wrote:
>I am a complete novice but would liket to have a PHP script which will
>upload a file which is pre-defined,
Can't. It's a browser limitation for security reasons.
See also: http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.10.1
Whilst the standard recommends prompting for confirmation, most browsers err
on the side of caution and simply ignore the value attribute.
More: http://www.cs.tut.fi/~jkorpela/forms/file.html
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|