Re: How can I display an image within a script?
| From: | Curt Zirzow | Date: | Wed, 16 Jul 2003 04:11:52 +0000 |
| Subject: | Re: How can I display an image within a script? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155363@lists.php.net to get a copy of this message | ||
Curt Zirzow <curt@zirzow.dyndns.org> wrote:
> [...]
> if (file_exists($file) ) {
> header('Content-Yype: image/jpeg');
ooops -------------^
> readfile($file);
> } else {
> header('Content-Yype: text/html');
ditto -------------^
Curt
--
:%s/-Yype/-Type