On 24 Jun 2002, at 18:36, Emma Grant wrote:

> I know that many of you are about to tell me to store the images on my
> server, and reference the location from my database field. As I have
> read many times throughout my research. But I want the ability for the
> user to choose the images they want in a database from the form field.
> I don’t want them to have to use a FTP program to upload images, and
> then insert the image location.

The way the image data gets to you is completely independent of the
way it's stored.  You can certainly have the user upload the file
through a form and then have your form-handling program write the
data to a file somewhere on your server while storing the file name
or path in the database.

It sounds like your main problem is how to get the contents of the
uploaded file in your form-handling program, but that has nothing to
do with MySQL and depends on what language and modules you're using.
You'd do better asking on a list devoted to PHP or Perl or whatever
you're using.

[Filter fodder: SQL]

--
Keith C. Ivey <[EMAIL PROTECTED]>
Tobacco Documents Online
http://tobaccodocuments.org

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to