Re: Storing image in database

From: Date: Mon, 30 Aug 2004 23:48:40 +0000
Subject: Re: Storing image in database
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-195227@lists.php.net to get a copy of this message
Dre wrote:
line 8 is <?php just that .. and the code before it is the following //================================================== <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> //==================================================
That is the output I mentioned. And output either html OR image, you cannot output both. Try yourself, open a image file (gif, jpg...) in a text editor and put html code in it, then save it. Obviosly, you'll get broken image file.

« previous php.general (#195227) next »