Re: [PHP-DB] imagetypes( ) function

2003-07-28 Thread dpgirago


thanks,

I was gonna repost to let everyone know that I was being a dummy because I
hadn't indicated in php.ini where the extensions directory was located. I added
the path, and uncommented the  <>, and all is ok in
php-land. Thanks, again






[EMAIL PROTECTED] on 07/28/2003 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\extensions\php_gd2.dll to c:\WINNT\php_gd2.dll


for more information see,

http://www.php.net/manual/en/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 removed the semi-colon and restarted apache, I got an
error
> saying that the module couldn't be found or started...
> Wonder why it is not available. I downloaded PHP 4.3.2 php.net just last
week.
>
> BTW, I'm on Win 2k, also.
>
> Any ideas?
>
>
>
>
>
> [EMAIL PROTECTED] on 07/28/2003
11: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 :
>
>  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 from the manual "This function returns a bit-field
> corresponding to the image formats supported by the version of GD linked
> into PHP. ". Have you enabled the gd2 graphics extension?
>
> Note that in my php.ini configuration file (located in C:\WINNT) I have
> enabled the gd2 graphics extension (extension=php_gd2.dll) by removing the
> semi-colon from the start of the line, etc.
>
>
>
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 28, 2003 3:05 PM
> Subject: [PHP-DB] imagetypes( ) function
>
>
> >
> >
> > Good day all,
> >
> > Anyone have an idea why I receive a "call to undefined function" error
> message
> > when I use the imagetypes() function on PHP versions 4.2.3 and 4.3.2 ??
> >
> > The code to test for  PNG image handling is right from the manual...
> >
> >  >
> > if ( imagetypes() & IMG_PNG)
> >  {
> >  echo "PNG Support enabled";
> > }
> >
> > ?>
> >
> > David
> >
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] imagetypes( ) function

2003-07-28 Thread Matthew

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\extensions\php_gd2.dll to c:\WINNT\php_gd2.dll


for more information see,

http://www.php.net/manual/en/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 removed the semi-colon and restarted apache, I got an
error
> saying that the module couldn't be found or started...
> Wonder why it is not available. I downloaded PHP 4.3.2 php.net just last
week.
>
> BTW, I'm on Win 2k, also.
>
> Any ideas?
>
>
>
>
>
> [EMAIL PROTECTED] on 07/28/2003
11: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 :
>
>  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 from the manual "This function returns a bit-field
> corresponding to the image formats supported by the version of GD linked
> into PHP. ". Have you enabled the gd2 graphics extension?
>
> Note that in my php.ini configuration file (located in C:\WINNT) I have
> enabled the gd2 graphics extension (extension=php_gd2.dll) by removing the
> semi-colon from the start of the line, etc.
>
>
>
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 28, 2003 3:05 PM
> Subject: [PHP-DB] imagetypes( ) function
>
>
> >
> >
> > Good day all,
> >
> > Anyone have an idea why I receive a "call to undefined function" error
> message
> > when I use the imagetypes() function on PHP versions 4.2.3 and 4.3.2 ??
> >
> > The code to test for  PNG image handling is right from the manual...
> >
> >  >
> > if ( imagetypes() & IMG_PNG)
> >  {
> >  echo "PNG Support enabled";
> > }
> >
> > ?>
> >
> > David
> >
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] imagetypes( ) function

2003-07-28 Thread dpgirago


Ah,

you know, when I removed the semi-colon and restarted apache, I got an error
saying that the module couldn't be found or started...
Wonder why it is not available. I downloaded PHP 4.3.2 php.net just last week.

BTW, I'm on Win 2k, also.

Any ideas?





[EMAIL PROTECTED] on 07/28/2003 11: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 :



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 from the manual "This function returns a bit-field
corresponding to the image formats supported by the version of GD linked
into PHP. ". Have you enabled the gd2 graphics extension?

Note that in my php.ini configuration file (located in C:\WINNT) I have
enabled the gd2 graphics extension (extension=php_gd2.dll) by removing the
semi-colon from the start of the line, etc.





- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 3:05 PM
Subject: [PHP-DB] imagetypes( ) function


>
>
> Good day all,
>
> Anyone have an idea why I receive a "call to undefined function" error
message
> when I use the imagetypes() function on PHP versions 4.2.3 and 4.3.2 ??
>
> The code to test for  PNG image handling is right from the manual...
>
> 
> if ( imagetypes() & IMG_PNG)
>  {
>  echo "PNG Support enabled";
> }
>
> ?>
>
> David
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] imagetypes( ) function

2003-07-28 Thread Matthew
I'm running php 4.3.0 on windows 2000. The following code woks :



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 from the manual "This function returns a bit-field
corresponding to the image formats supported by the version of GD linked
into PHP. ". Have you enabled the gd2 graphics extension?

Note that in my php.ini configuration file (located in C:\WINNT) I have
enabled the gd2 graphics extension (extension=php_gd2.dll) by removing the
semi-colon from the start of the line, etc.





- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 3:05 PM
Subject: [PHP-DB] imagetypes( ) function


>
>
> Good day all,
>
> Anyone have an idea why I receive a "call to undefined function" error
message
> when I use the imagetypes() function on PHP versions 4.2.3 and 4.3.2 ??
>
> The code to test for  PNG image handling is right from the manual...
>
> 
> if ( imagetypes() & IMG_PNG)
>  {
>  echo "PNG Support enabled";
> }
>
> ?>
>
> David
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] imagetypes( ) function

2003-07-28 Thread dpgirago


Good day all,

Anyone have an idea why I receive a "call to undefined function" error message
when I use the imagetypes() function on PHP versions 4.2.3 and 4.3.2 ??

The code to test for  PNG image handling is right from the manual...



David



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php