note 41424 deleted from function.header by nlopess
| From: | nlopess@php.net | Date: | Fri, 09 Apr 2004 14:11:31 +0000 |
| Subject: | note 41424 deleted from function.header by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67878@lists.php.net to get a copy of this message | ||
Note Submitter: zia ullah
----
i have problem when i use this function
Header('Content-Type: image/jpg')
i m using internet explorer 6 sp1 and i think my browser is not supporting becuse the output is like
this
ÿØÿàJFIFÿþ ÿÛC $.'
",#(7),01444'9=82<.342ÿÛC 2!!
anyone can solve my problem plz
the code of my php file is
<?php
Header('Content-Type: image/jpg');
$pic=ImageCreate(600,600);
$col1=ImageColorAllocate($pic,200,200,200);
$col2=ImageColorAllocate($pic,0,0,255);
ImageFilledRectangle($pic,1,1,100,100,$col2);
ImageJPEG($pic);
ImageDestroy($pic);
?>