|
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
==================
Navigation:
[Reply to this message]
|