Re: [PHP] IMAGECOPYRESIZED(); DOESN'T WORK...

2006-07-02 Thread Chris
BBC wrote: Did you check if you had the required "gd" extension? I believe someone already told you and how to check. Sorry I resent my question unintentionally I believe no one did. Then you didn't look hard enough. btw, what is GD extension, and how to install or load it? I have read my '

Re: [PHP] IMAGECOPYRESIZED(); DOESN'T WORK...

2006-07-02 Thread BBC
> Did you check if you had the required "gd" extension? I believe someone already told you and how to check. Sorry I resent my question unintentionally I believe no one did. btw, what is GD extension, and how to install or load it? I have read my 'php.ini', and then I found this: ;extension=php_gd

Re: [PHP] IMAGECOPYRESIZED(); DOESN'T WORK...

2006-07-01 Thread tedd
At 4:15 PM -0700 7/1/06, BBC wrote: >I thought I have typed this function correctly, and I didn't know why my >browser couldn't run these script : >$filename = 'test.jpg'; >$percent = 0.5; >header('Content-type: image/jpeg'); >list($width, $height) = getimagesize($filename); >$newwidth = $width * $

[PHP] IMAGECOPYRESIZED(); DOESN'T WORK...

2006-07-01 Thread BBC
I thought I have typed this function correctly, and I didn't know why my browser couldn't run these script : and the error output is : "call to undefined function" btw, I'm using PHP 4.1.1. Is there any possible that my PHP version can not run those script? So, what is the best solution for my pro

Re: [PHP] IMAGECOPYRESIZED(); DOESN'T WORK...

2006-07-01 Thread chris smith
On 7/1/06, BBC <[EMAIL PROTECTED]> wrote: I thought I have typed this function correctly, and I didn't know why my browser couldn't run these script : and the error output is : "call to undefined function" btw, I'm using PHP 4.1.1. Is there any possible that my PHP version can not run those scri

[PHP] IMAGECOPYRESIZED(); DOESN'T WORK...

2006-07-01 Thread BBC
I thought I have typed this function correctly, and I didn't know why my browser couldn't run these script : and the error output is : "call to undefined function" btw, I'm using PHP 4.1.1. Is there any possible that my PHP version can not run those script? So, what is the best solution for my pro