On 15 Jul 2003 at 18:31, Dan Anderson wrote:

> > I think there is a way to insert binary image data in your html, but
> > is there any particular reason you need to do that?
> 
> Yes, my client's server is running with particularly restrictive PHP
> safe mode settings and has informed me that dynamic images are a /must
> have/.  :: bangs head against wall. starts to bleed ::

Dynamic images don't require inserting binary data into your HTML.  
(It is possible to use 'data:' URLs to insert arbitrary data into 
your HTML, but very few broswers support it, and it's not relevant 
for your purposes).

The image and the HTML will come from separate HTTP requests, so all 
that's necessary is for you to put the appropriate URLs into the HTML 
and set up a corresponding PHP program to return the data, with the 
"Content-type: image/gif" (or whatever) header, and possibly others, 
depending on what you're trying to do.

Except for the process of retrieving the data from the database, this 
has nothing to do with MySQL, so questions related to HTML, PHP, and 
HTTP headers should be directed to another list.

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Tobacco Documents Online
http://tobaccodocuments.org


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to