|
Posted by Jerry Stuckle on 12/08/07 03:24
AnrDaemon wrote:
> 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)
> Or take a closer look at PEAR documentation. (Better.. much better way)
>
>
including a file which does not exist will not throw an exception.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|