Re: INPUT tag with default value

From: Date: Tue, 23 Oct 2001 16:47:09 +0000
Subject: Re: INPUT tag with default value
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71963@lists.php.net to get a copy of this message
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: http://www.blooberry.com/indexdot/html/tagpages/i/inputfile.htm And a related RFC : http://www.faqs.org/rfcs/rfc1867.html regards, 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 >

« previous php.general (#71963) next »