Jump to content

Good or bad plan? image bin to mysql??


louis_coetzee

Recommended Posts

Hi guys, please tell me what you think.....

 

$fp = fopen($filename, 'rb') or die("Image '$filename' not found!");

$buf = '';

while(!feof($fp))

$buf .= fgets($fp, 4096);

 

Take $buf to mysql????? or rather just store the image somewhere on the server?????

I want to resample image smaller as thumbs. anyway.

Link to comment
https://forums.phpfreaks.com/topic/170653-good-or-bad-plan-image-bin-to-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.