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 Michael Fesser on 12/08/07 11:12

..oO(AnrDaemon)

>Greetings, Ming.
>In reply to Your message dated Friday, December 7, 2007, 22:08:19,
>
>> 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)

Not that fast, since you also have to write your own error handler to
throw the exception.

Micha

 

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

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