You are here: Re: How to see if a PEAR package exists? « PHP Programming Language « IT news, forums, messages
Re: How to see if a PEAR package exists?

Posted by AnrDaemon on 12/08/07 03:41

Greetings, Jerry Stuckle.
In reply to Your message dated Saturday, December 8, 2007, 06:24:09,

>>> I want to know if some particular PEAR package (for example, DB,
>>> XML_RPC) exists. How can I do that in PHP?
>>
>> Try to include them and catch an exception. (As fast and dirty way)
>> Or take a closer look at PEAR documentation. (Better.. much better way)

> including a file which does not exist will not throw an exception.

Here is more than one way to deal with it. You know.


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

 

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

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