Reply to Re: How to see if a PEAR package exists?

Your name:

Reply:


Posted by Jerry Stuckle on 12/08/07 04:35

AnrDaemon wrote:
> 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.
>
>

And your way doesn't work - but that's the same as most of your answers
here.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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