RE: [PHP] how to know when a php library is installed

From: Date: Sun, 21 Aug 2005 07:59:54 +0000
Subject: RE: [PHP] how to know when a php library is installed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221034@lists.php.net to get a copy of this message
Contacting host, thanks :) -----Original Message----- From: Jasper Bryant-Greene [mailto:jasper@bryant-greene.name] Sent: Sunday, August 21, 2005 1:20 AM To: 'php' Subject: Re: [PHP] 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

« previous php.general (#221034) next »