|
Re: Inserting images (not the location of the images): msg#00686db.mysql.general
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 <keith@xxxxxxxxxxx> 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 <mysql-thread112933@xxxxxxxxxxxxxxx> To unsubscribe, e-mail <mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | environment variable ...: 00686, Julien OIX |
|---|---|
| Next by Date: | Re: Re: Can't create FOREIGN KEY restraints on InnoDb tables: 00686, Andy Dustman |
| Previous by Thread: | Re: Inserting images (not the location of the images)i: 00686, Paul DuBois |
| Next by Thread: | Re: Inserting images (not the location of the images): 00686, Neil Freeman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |