How can I display an image within a script?
| From: | Dan Anderson | Date: | Tue, 15 Jul 2003 19:27:42 +0000 |
| Subject: | How can I display an image within a script? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155304@lists.php.net to get a copy of this message | ||
Because of restrictive safe mode settings I cannot display images from
their folder. Is there a way to embed them within a web page?
i.e.
<?php
print "<IMAGE START>\n";
readfile('image.jpeg');
print "</IMAGE END>\n";
?>
Thanks in advance,
Dan Anderson