Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Cannot display image

Hi, I did tried your solution, but the image still cannot display, the connection is ok, and when I include some other code, I can see the image header information, but still, it cannot display image,

The code I used is same as you,
header("Content-type: image/jpeg");
echo mssql_result($result, 0, 0); // <---added the second 0


my environment is WAMP+PHP5.3.1+MSSQL2008R2
Thanks

======================================================
ÿØÿàJFIF,,ÿí LPhotoshop 3.08BIMí
Resolution,,8BIM
FX Global Lighting Anglex8BIMFX Global Altitude8BIMó Print Flags 8BIM
Copyright Flag8BIM'Japanese Print Flags
8BIMõColor Halftone SettingsH/fflff/ff¡™š2Z5-8BIMøColor Transfer Settingspÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿèÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿèÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿèÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿè8BIMGuides@@8BIM
URL overrides8BIMSlicesuX
Untitled-1 X8BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows Thumbnail¤pTPn@ˆÿØÿàJFIFHHÿîAdobed€ÿۄ   
 

Attachments

  • Clipboard02.jpg
    Clipboard02.jpg
    1.7 KB · Views: 463
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.