Contacting host, thanks :) -----Original Message----- From: Jasper Bryant-Greene [mailto:jasper@xxxxxxxxxxxxxxxxxx] Sent: Sunday, August 21, 2005 1:20 AM To: 'php' Subject: Re: how to know when a php library is installed 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php