Re: how to know when a php library is installed
| From: | Jasper Bryant-Greene | Date: | Sun, 21 Aug 2005 07:19:49 +0000 |
| Subject: | Re: how to know when a php library is installed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221031@lists.php.net to get a copy of this message | ||
Lizet Pena de Sola wrote:
Hello all: I need to test whether a library is installed with php or not. In this case it's the tidy library I need for a project.<?php if(function_exists('tidy_get_output')) { // Tidy is installed } else { // Tidy is not installed, contact your host } ?> Jasper