What I have found that works, in PHP, is using a form that allows the user to browse for a file or an image. Upon submitting the form the file is uploaded to a set location on the web server and the name of the file is added to the database.
When displaying the information associated with the image, write the php page so it has the image tag and all you do is query the database for the name of the file. Let php do the rest. I realize this isn't a php list but this is what I have done in the past. You can check the www.php.net newsgroups archives for steps on accomplishing this task. Good luck, Jef > -----Original Message----- > From: Dan Anderson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 15, 2003 4:31 PM > To: Partap Davis > Cc: [EMAIL PROTECTED] > Subject: Re: How can I display images from a mySQL Database in a web page? > > > I think there is a way to insert binary image data in your html, but is > > there any particular reason you need to do that? > > Yes, my client's server is running with particularly restrictive PHP > safe mode settings and has informed me that dynamic images are a /must > have/. :: bangs head against wall. starts to bleed :: > > So, it is relatively easy to store images into a BLOB, and slightly > tricky to chop them up into the packet size and reassemble them. But > trying to figure out how to do this has boggled my mind and I appreciate > all the help of the community. :) > > -Dan > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]