You are here: Re: dynamically loadable php files « PHP Programming Language « IT news, forums, messages
Re: dynamically loadable php files

Posted by Wolfgang Forstmeier on 10/21/13 11:25

Hi,

have a look @ the PHP - Manual of new Object model in PHP 5.x
here you could fine the method __autoload() this is exactly what u want :)

Have Fun ..

Wolfgang ..

kishore.sainath@gmail.com wrote:
> I have created a set of classes in PHP for internal use in the company.
>
> Hence I don't explicitly want to "require" or "require_once" them
> whenever required.
>
> I want to make the library loadable on demand just like mysql or other
> libraries in php. I want people to use the classes in my library
> without "requiring" anything.
>
> In a nutshell, I want to make my PHP library a .so file in Linux and a
> .dll file in Windows.
>
> How do I achieve this?
>
> I currently need a solution for the following combination
> Linux, Apache and PHP 5.0.4.
>
> I also welcome a solution on Windows.
>
> Thanks in advance
> - Kishore
>

 

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

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