This is not possible. Default values cannot be set with type=file as if it
were it would be quite a security risk.    A little more information on
the capability of this html form element:

And a related RFC :

Philip Ollson

On Tue, 23 Oct 2001, Silvia Mahiques wrote:

> Hi,
> I can't print a default value in a INPUT tag with TYPE=file. INPUT tag has value 
>attribute, but it not apear in window box.
> <input type="file" name="photo" size="60" maxlength="150" value="<? echo $photo; 
> How can I print a default value?
> Thanks,
> Silvia Mahiques

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to