Reply to Re: imagecreatefromjpeg, calling a .php file

Your name:

Reply:


Posted by Chung Leong on 04/16/06 21:25

Areric wrote:
> Chung,
>
> Im trying to break up as much as possible. This particular library I
> really dont want to be dependant on any specific database
> implementation. Im trying to abstract that out so i can reuse this
> stuff independanly.
>
> My DisplayImage.php script is dependant on the DB but not my
> imagemanipulation script.
>
> Good idea though, im wondering if instead of returning an image object
> i could just return the string itself.

In that case a slicker approach is to define a stream wrapper that
reads from the database. See
http://fi.php.net/stream-wrapper-register/.

[Back to original 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

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