You are here: Re: outputing image directly to browser « PHP Programming Language « IT news, forums, messages
Re: outputing image directly to browser

Posted by Iv�n S�nchez Ortega on 06/08/07 00:44

Jon Slaughter wrote:

> can one "stream" image data to a browser?

Yeah, you can encode the image in base64, but IMHO it's not worth it.

> Anyway around this?

The classic way: do <img src='foo.php'>, where foo.php is the *only* script
that runs imagepng().

This means: do *not* run imagepng() in your main script.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

El sentido común es el menos común de los sentidos

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация