Bug #9666 Updated: Can't display image/pjpeg and image/gif in one sanme page

From: Date: Thu, 10 May 2001 14:43:18 +0000
Subject: Bug #9666 Updated: Can't display image/pjpeg and image/gif in one sanme page
Groups: php.dev 
Request: Send a blank email to php-dev+get-54710@lists.php.net to get a copy of this message
ID: 9666 User Update by: hellmarch@263.net Old-Status: Closed Status: Open Bug Type: *Graphics related Operating system: Linux PHP Version: 4.0.3pl1 Description: Can't display image/pjpeg and image/gif in one sanme page $data = addslashes(fread(fopen($image, "r"), filesize($image))); Previous Comments: --------------------------------------------------------------------------- [2001-05-10 05:55:45] sniper@php.net No feedback. If problem exists with PHP 4.0.5, reopen. --------------------------------------------------------------------------- [2001-04-19 09:55:02] sniper@php.net Could you please add script into this report that you use to ADD the images into the database? And please make it short one. --Jani --------------------------------------------------------------------------- [2001-03-11 20:36:44] hellmarch@263.net Yes,I use addslashes on the binary data.Didn't need to use this function? --------------------------------------------------------------------------- [2001-03-11 05:35:11] mathieu@php.net If you inserted this with PHP also, did you use addslashes on the binary data? IIRC that's required, or mysql 'll be kinda messy with the data.. -- Mathieu --------------------------------------------------------------------------- [2001-03-11 00:04:12] hellmarch@263.net Sorry,this page is not on web,it's on my intranet.I am a Chinese,I am not good at english.I mean one of the two types will not display on the first time that the page load,Must refresh can display togather. --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=9666

« previous php.dev (#54710) next »