The question is in the title. I am having trouble in blob images display since a few days.
When i look to binary datas of the displayed images (who display with the broken symbol, actually they dont really display), i get different raw data form orginal .jpg and the file_get_content() binary file generated.
Here is a related post orm yesterday with some more explanations.
--> mysql blob image displaying with php/html
Add a comment
|
1 Answer
Short answer is : yes. There's no reason the contents should be different. Your problem is probably in another castle.
10 Comments
Evert
If you were sitting in my office, and ask the same question. I would ask that you install Charles HTTP Proxy, and I'd go over the exact response from that url to look for something suspicious.
Having this return after uploading my image: ------WebKitFormBoundaryFxYwOIY8tJCfDekb Content-Disposition: form-data; name="avatar"; filename="original.gif" Content-Type: image/gif ------WebKitFormBoundaryFxYwOIY8tJCfDekb-- Response Headersview source Connection:Keep-Alive Content-Length:2872 Content-Type:image/gif Date:Thu, 09 Aug 2012 09:36:11 GMT Keep-Alive:timeout=5, max=62 Server:Apache/2.4.2 (Win64) PHP/5.4.3 X-Powered-By:PHP/5.4.3
code |