On Tuesday 21 May 2002 10:54 am, Info_Best-IT wrote:
> Any suggestions on how to load images from a web site into a MySQL db?  I
> would like to set up a page that allows you to select an image from the
> local machine and load it to my MySQL DB on my web server.
>
> I'm not sure if it would just be a regular insert statement or something
> else?

Well, first you've got to get the file onto the local server. In PHP, you can 
use fopen() together with other functions to get the file from the user's 
machine onto the remote server. But I'm not sure you absolutely want to store 
it in the database.


---------------------------------------------------------------------
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