The implication is that the 'middle layer' (PHP) would slow things down
to an unusable state. so, when I extract an image from the database and
echo it to a webpage, is there any copying done? or is it a direct stream to the webpage?
I don't think you ever extract image data direct from a database and echo it to a web (HTML) page do you? Typically you call a php script which outputs the correct mimetype for the image, and passes the image data through to the user agent.
In other words, you HTML source looks like this:
<img src='images.php?id=45'>
NOT
<img src='{RAW BINARY DATA HERE}'>
I don't know if this helps or not :)
Justin French
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php