php3-list | 199901
Date: 01/31/99
- Next message: Sascha Schumann: "Re: [PHP3] HTTP referer"
- Previous message: Pan Hong: "[PHP3] HTTP referer"
- In reply to: Pan Hong: "[PHP3] Output image directly from PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> And my image.php3 script is like:
> <?php
> header("Content-type: image/gif");
> echo ("/imgs/picture1.gif");
> ?>
echo() just outputs a string. You want to output the file "/imgs/picture1.gif", not the
string "/imgs/picture1.gif". Look at readfile().
- colin
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Sascha Schumann: "Re: [PHP3] HTTP referer"
- Previous message: Pan Hong: "[PHP3] HTTP referer"
- In reply to: Pan Hong: "[PHP3] Output image directly from PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

