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
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
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 :
It is possible to utilize a VALUE attribute with a FILE type input
field. Even the specs at Blooberry list value as an attribute of the
input type=file field. I double-checked at w3c.org to make sure, though,
and found the information repeated there. I even checked my O'Reilly book
on
4 matches
Mail list logo