Gary White wrote:
> On Wed, 21 Feb 2007 13:49:43 +0000 (UTC), "VernMan"
> <webforumsuser@macromedia.com> wrote:
>
>> (<input name="photoNAME" type="file"
id="photoNAME" />)
> See
http://www.php.net/manual/en/features.file-upload.php
As Gary indicates, using type="file" is for file uploads. If
all you're
trying to do is get the name of the file into a database,
there's no
need to upload the file. In fact, it's a total waste of
resources.
You need to use the PHP file system functions to build a list
of the
images in your folder, and use it to populate a drop-down
menu of
filenames. I show how to do it in both "Foundation PHP for
Dreamweaver
8" and "PHP Solutions", but it's not all that difficult to
code yourself
if you use scandir() (PHP 5 only).
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/