When I upload and generate a thumbnail, the link shown in the thumbnail is as follows;
Copy the code The code is as follows:
< img src ="/index.php?action=sys_upload_showThumb&id=bdc3955470adfb5637a0d1f517eb3d35" /& gt;
Copy code The code is as follows:
header("Content-type: image/jpeg") ;
header(" Content-Length: ".strlen($_SESSION["fileInfo"][$image_id]));
echo $_SESSION["fileInfo"][$image_id];
unset($_SESSION['fileInfo'][$image_id] );//
exit(0);
Copy the code The code is as follows:
header("Content-type: image/jpeg") ;
header("Content-Length: ".strlen($_SESSION["fileInfo "][$image_id]));
echo $_SESSION["fileInfo"][$image_id];
/**Immediately output the above session to solve the problem that the thumbnails generated under IE6 have been cleared by the unset($_SESSION['']) below before they are displayed, resulting in IE6 being unable to display the thumbnails.*/
echo $str . str_repeat(' ', 256); //Some browsers It must be output only when the output reaches 256 characters
ob_flush();
flush(); // These two must be used together
unset($_SESSION['fileInfo'][$image_id]); //
exit(0);
The above introduces the reasons why the dynamic thumbnails of ie6 do not display in the perfect jailbreak of iphone4s 6.0.1, including the content of the perfect jailbreak of iphone4s 6.0.1. I hope it will be helpful to friends who are interested in PHP tutorials.