Re: [PHP] mad .... again jpeg files...

2001-12-04 Thread Valentin V. Petruchek
CTED]> Sent: Tuesday, December 04, 2001 8:46 PM Subject: [PHP] mad again jpeg files... > Hello all, > I still having problem when use jpeg functions... > > I got: " testout.jpg is not a valid JPEG file in .." , with follow > code: > Header("Content-type:

[PHP] mad .... again jpeg files...

2001-12-04 Thread Miguel Loureiro
Hello all, I still having problem when use jpeg functions... I got: " testout.jpg is not a valid JPEG file in .." , with follow code: Header("Content-type: image/jpeg"); $img=ImageCreateFromJPEG("testout.jpg"); ImageJPEG($img,"a.jpg"); ImageDestroy($img); testout.jpg was one image created b