|
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]
|