Re: INPUT tag with default value
| From: | Silvia Mahiques | Date: | Wed, 24 Oct 2001 07:21:23 +0000 |
| Subject: | Re: INPUT tag with default value | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72056@lists.php.net to get a copy of this message | ||
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" <philip@cornado.com> escribió en el mensaje
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