You are here: Re: Uploading a pre-defined filename to a server with PHP « PHP Programming Language « IT news, forums, messages
Re: Uploading a pre-defined filename to a server with PHP

Posted by Andy Hassall on 10/03/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация