Re: [PHP] checking if module exists

2003-02-26 Thread Jun
thank you chris and marek.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] checking if module exists

2003-02-26 Thread Jun
n" <[EMAIL PROTECTED]> > To: <> > Sent: Wednesday, February 26, 2003 7:38 AM > Subject: [PHP] checking if module exists > > > I want my script to compress the output using gzip library. But before that, > I want to check if gzip library is enabled before calling

Re: [PHP] checking if module exists

2003-02-26 Thread Marek Kilimajer
function_exists() -- checks if a function exists Jun wrote: I want my script to compress the output using gzip library. But before that, I want to check if gzip library is enabled before calling the compression functions... How do I do that? jun -- PHP General Mailing List (http://www.php

Re: [PHP] checking if module exists

2003-02-26 Thread Chris Boget
> I want my script to compress the output using gzip library. But before that, > I want to check if gzip library is enabled before calling the compression > functions... How do I do that? You can try extension_loaded(); Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Fw: [PHP] checking if module exists

2003-02-26 Thread Rick Emery
Write a test script and run it on the target server. If it crashes, it's not enabled. - Original Message - From: "Jun" <[EMAIL PROTECTED]> To: <> Sent: Wednesday, February 26, 2003 7:38 AM Subject: [PHP] checking if module exists I want my script to com

[PHP] checking if module exists

2003-02-26 Thread Jun
I want my script to compress the output using gzip library. But before that, I want to check if gzip library is enabled before calling the compression functions... How do I do that? jun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php