Pulling image data from MySQL with PHP

From: Date: Tue, 04 Apr 2000 15:49:15 +0000
Subject: Pulling image data from MySQL with PHP
Groups: php.version4 
Request: Send a blank email to php-version4+get-13094@lists.php.net to get a copy of this message
Hello, I have a PHP4b3 script that does a very simple thing: it pulls binary jpeg data from a mysql table, removes the slashes, sends a "Content-type: image/jpeg" header, and then spits out the jpeg. Now the problem is that I use this script to show a row of picture previews in an HTML table. It seems that when this script is called repetadly in quick succession, it sometimes does not retrieve the whole image from the database. If you look at the site (a family site that I am building) http://sacerdoti.org you will see the problem - sometimes 3 of 5 previews show, sometimes only 1 of 5. But its very unreliable. I wonder if I am simple making a mistake, or if this is a bug in PHP or MySQL Regards, Dave

« previous php.version4 (#13094) next »