Im using a thumbnailing script that is supposed to generate thumbnails of the selected pictures on the fly. However, I cannot for the life of me get the header to read the doc type properly. when the script runs, all i get is the binary for the image
WarningCannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Beta\thumbnail.php:2) in C:\xampp\htdocs\Beta\thumbnail.php on line 40
ÿØÿàJFIFÿþ>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality ÿÛC $.' ",#(7),01444'
is the error that I get
and this is line 40 of my thumbnail script...
if anyone can help id love to hear it. BTW this is running on a local server, the script works properly when its hosted here on frihost.
WarningCannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Beta\thumbnail.php:2) in C:\xampp\htdocs\Beta\thumbnail.php on line 40
ÿØÿàJFIFÿþ>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality ÿÛC $.' ",#(7),01444'
is the error that I get
and this is line 40 of my thumbnail script...
| Code: |
| Header("Content-Type: image/jpeg"); |
if anyone can help id love to hear it. BTW this is running on a local server, the script works properly when its hosted here on frihost.
