[thelist] <input type="file" value attr?
Tarrant Costelloe
taz at insur-e.net
Tue Nov 5 09:06:01 CST 2002
Thank you, this is very helpful ;)
-----Original Message-----
From: Taranis [mailto:taranis at spittingllamas.com]
Sent: 05 November 2002 14:59
To: thelist at lists.evolt.org
Subject: RE: [thelist] <input type="file" value attr?
Tarrant wrote:
>Hello, I have a file input type and I am looking for it to hold a value
of the location of the members current photo, for instance something
>like this.
><input type="file" name="photopath" value="<? echo $photo; ?>">
>However this does not want to work, so I am guessing it's cause the
file input type doesn't have a value attribute, any ideas?
As already mentioned, it's not possible to do this.
The solution I have used is to put the current image on the page and
print the filename below it, so that the user might be reminded what
they uploaded.
-------
Alex Ezell
http://www.spittingllamas.com
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list