I'm running php 4.3.0 on windows 2000. The following code woks :
?php
if (imagetypes() IMG_PNG) {
echo PNG Support is enabled;
}
?
Producing the following output :
PNG Support is enabled
The manual suggests that the imagetypes() function has been available since
php 4.0.2. But, quoting
:17:23
AM
To: [EMAIL PROTECTED]
cc:
Subject: Re: [PHP-DB] imagetypes( ) function
I'm running php 4.3.0 on windows 2000. The following code woks :
?php
if (imagetypes() IMG_PNG) {
echo PNG Support is enabled;
}
?
Producing the following output :
PNG Support is enabled
The manual suggests
/install.windows.php
the Installation of Windows extensions section
or the install.txt file in your php directory
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 28, 2003 5:25 PM
Subject: Re: [PHP-DB] imagetypes( ) function
Ah,
you know, when I
03:03:41
PM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject: Re: [PHP-DB] imagetypes( ) function
php_gd2.dll probably needs to be copied from your php install directory to
your windows system directory (so that it is in the path thingy). On my
system that translated to :
copy c:\php