Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GD issues again...

Status
Not open for further replies.

kasuals

Programmer
Apr 28, 2002
100
US
Well, my old code isn't working with my new install of PHP 4.3.2 and Apache2. The GD php_gd2.dll is loaded... however even this line of code wont display a jpeg file:

<?
header(&quot;Content-type: image/jpeg&quot;);

$im = imagecreatefromjpeg(&quot;bg1.jpg&quot;);
imagejpeg($im);
?>


The bg1.jpg is in the same directory as the script...

Any ideas?

- &quot;Delightfully confusing...&quot; raves The New York Times

-kas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top