I've got a mySQL database with a number of images (GIFs and JPGs) stored in BLOBs in a table. Now, I'd like to be able to use getImageSize() on them when I need to put them in my presentation. I have PHP code for displaying the image which works just fine, but for some reason I can't use getImageSize() on that file.
I.E. I try to do this:
$size = getImageSize('http://localhost/dbImg.php?id=110');
But I receive this error:
Warning: getimagesize: Unable to open 'http://192.168.0.5/dbImg.php?id=110' for reading.
Of course the URL http://192.168.0.5/dbImg.php?id=110 works just fine and displays a nice little GIF image stored in the database. Does anybody know if there is a way to solve this?