coderage Posted April 16, 2007 Share Posted April 16, 2007 Hi Plz tell how to fix this error. I get it when trying to dispay images thru PHP code. Thanks Quote Link to comment Share on other sites More sharing options...
cyrixware Posted April 16, 2007 Share Posted April 16, 2007 Let us see your codes here? Quote Link to comment Share on other sites More sharing options...
coderage Posted April 16, 2007 Author Share Posted April 16, 2007 <?php define("SRC_FILE", "pic.jpg"); $img = imagecreatefromjpg(SRC_FILE); $img_copy = imagecreatefromjpg(SRC_FILE); header("Content-Type: image/jpg"); imagejpg($img_copy); ?> not this , any other code even drawings give the same error. Quote Link to comment Share on other sites More sharing options...
cyrixware Posted April 16, 2007 Share Posted April 16, 2007 I see. well in my case i use xampp control 2.1 and thers no problem in my part. maybe, i guess thers a problem in the configuration of your server... Quote Link to comment Share on other sites More sharing options...
coderage Posted April 16, 2007 Author Share Posted April 16, 2007 plz tell me more abt this xampp control.... im using win xp and apache2.0.52 php5 now im tryin to switch to iis 6 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.