georgepapa Posted December 16, 2006 Share Posted December 16, 2006 Hi!I have already installed gd2 library, but when i write the code:header("Content-type: image/jpeg");$im = @imagecreatefromjpeg('C:\RedFlowers.jpg'); /* Attempt to open */touch($im);imagejpeg($im); the following warning is displayed:Cannot modify header information - headers already sent by (output started at C:\wamp\www\mywebsite\ImageRetrieval\Browse.php:7) in C:\wamp\www\mywebsite\ImageRetrieval\Browse.php on line 159Do you know what I should do? Link to comment https://forums.phpfreaks.com/topic/30882-gd-library-problem-with-header/ Share on other sites More sharing options...
wildteen88 Posted December 16, 2006 Share Posted December 16, 2006 All the info is in the error message. You are getting that error because you have some sort of output on line 7 in Browse.phpPost lines 4 - 10 here from Browse.php Link to comment https://forums.phpfreaks.com/topic/30882-gd-library-problem-with-header/#findComment-142502 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.