Re: Image output (Newb question)
| From: | Red Wingate | Date: | Fri, 02 Apr 2004 21:56:48 +0000 |
| Subject: | Re: Image output (Newb question) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182201@lists.php.net to get a copy of this message | ||
use the output-buffer functions ( ob_start() ... etc.. )
but if you want to display an image you need to only display a image by your image or save it to a file and view it using the html <img> tag.
Fidencio Monroy wrote:
Np, but I do not understand: Do should I remove all the html tags before the script? (I used your format in last script with the same result) Thanks -----Original Message----- From: Matt Matijevich [mailto:matijevich@alliancetechnologies.net] Sent: Friday, April 02, 2004 1:35 PM To: Matt Matijevich; fidencio_monroy@hotmail.com Cc: php-general@lists.php.net Subject: RE: [PHP] Image output (Newb question) Sorry for responding to myself but I also need to ad that you should not echo or print anything out in your php code before your header function or the text/html header will be sent.