[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP4 functions



Hi Sven,

  I have not come across the function you mentioned (haven't 
checked the docs for a bit) ... What I tend to do is something like 
...

  if(!function_exists(imagecreate)) dl("gd.so");

Where "imagecreate" is a function in the gd module.

Hope this helps...
Alan

> Date:          Wed, 26 Jul 2000 18:25:01 +0200 (MEST)
> From:          Sven Gaerner <SGaerner@gmx.net>
> To:            debian-user@lists.debian.org
> Subject:       PHP4 functions

> Hi,
> 
> I installed Apache and PHP4 and several modules for PHP4.
> Everything works but I need to know if a special module is loaded. In the
> PHP4 Manual on the PHP website it says you can use the function
>   bool extension_loaded(string module);
> When I tried this I received an error that I tried to call an undefined
> function.
> 
> Did someone have an idea?
> Please CC possible answers to me because I'm not subscribed.
> Thanks.
> 
> Bye,
> 
> Sven
> 
> -- 
> Sent through GMX FreeMail - http://www.gmx.net
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 
Alan McNatty (alan@catalyst.net.nz)
Catalyst IT Limited
http://www.catalyst.net.nz
Level 22 Morrison Kent House, 105 The Terrace
PO Box 10-225
Wellington, New Zealand
Ph 64 4 4992267 Fx 64 4 4995596



Reply to: