Dear Philip, Thank you very much, I have lost long time proving different alternatives that it's better not to implement. I prefer a safe code.
Thanks again!. Cheers Silvia Mahiques "Philip Olson" <[EMAIL PROTECTED]> escribió en el mensaje Pine.BSF.4.10.10110231629160.58932-100000@localhost">news:Pine.BSF.4.10.10110231629160.58932-100000@localhost... > 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 > > > begin 666 px.gif K1TE&.#EA`0`!`/ ``/___P```"'Y! $```$`+ `````!``$```("3 $`.P`` ` end -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]