as someone suggested, if you have ASP, you can get an upload module. if you
have php 4, you already have full capability to upload images, either using
FTP, or if your server will let you copy from the temporary directories, for
instance:

page 1 has a form that allows you to select an image on your harddrive, in a
variable called fileupload.

the form target has a script similar to this:
if(!$fileupload = "none") {
        copy($fileupload,[target]);
        unlink($fileupload);
}

at the same time, you can simply insert [target] reference into your mySQL
database. the above will only work, of course, if you have the correct
permissions on the server's temp folder.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 8:10 AM
To: [EMAIL PROTECTED]
Subject: Pictures in mysql


Hello friends.

I am a newbie in mysql and web programming.

Can someone please tell me where I can find some info on putting pictures
into mysql fields and also how I can use a web interface to add the
pictures to the database.

Thanks
Denis


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

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