Re: [PHP] Embedding image a PHP file

2002-12-29 Thread justin gruenberg
yy.php should contain

header("Content-type: image/jpeg");  /* or gif or whatever... you can 
also take a look at getimagesize() to get the type of the image 
automatically */
readfile(THE FILE);
?>

it's extremely important that there is no whitespace before the  tag.

empty wrote:

Hi

Anybody knows how to embed a image file to a php file, not as html;

for example;



embedding a image file in yy.php file.

Thanks everybody


 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Embedding image a PHP file

2002-12-29 Thread empty
Hi

Anybody knows how to embed a image file to a php file, not as html;

for example;



embedding a image file in yy.php file.

Thanks everybody


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php