|
pascy@gmx.at - 07 Sep 2008
Hi,
I have a different question!
Taking your example above:
If the user would like to save the image with mouse right-click "Save image as" the name will be picture1.php and not imagename.png as it would be nice from a user perspective...
Can you tell a solution for that problem ?
Or what & where i should look for :-(
thanks
Paul
A PHP User - 07 Sep 2008
I also cannot call PHP_GD2.DLL with Wamp. I've double checked and restarted everything.
A PHP User/nat.rodri@gmail.com - 07 Sep 2008
hello I'm using PHP 4.4.4 in Macosx and if i use apache apear fatal error imagecreate() in ....
how can I fixed, I think that the problem is from apache but i dont know???
john - 07 Sep 2008
Like Philippe, I get "Fatal error: Call to undefined function: imagegpng() in D:\mystuff\count.php on line 61."
My php_gd2.dll is loading correctly. When I look at a phpinfo script I see:
GD Support: enabled
GD Version: buldled (2.0.23 compatible)
FreeType Support: enabled
FreeType Linkage: with freetype
GIF Read Support: enabled
JPG Support: enabled
PNG Support: enabled
WBMP Support: enabled
XBM Support: enabled
The previous functions in the script work: imagecreate, imagestring, header("Content-type: image/png"). But imagepng($im) fails.
Any hints?
Thanks,
John
john - 07 Sep 2008
Like Philippe, I get "Fatal error: Call to undefined function: imagegpng() in D:\mystuff\count.php on line 61."
My php_gd2.dll is loading correctly. When I look at a phpinfo script I see:
GD Support: enabled
GD Version: buldled (2.0.23 compatible)
FreeType Support: enabled
FreeType Linkage: with freetype
GIF Read Support: enabled
JPG Support: enabled
PNG Support: enabled
WBMP Support: enabled
XBM Support: enabled
The previous functions in the script work: imagecreate, imagestring, header("Content-type: image/png"). But imagepng($im) fails.
Any hints?
Thanks,
John
A PHP User - 07 Sep 2008
Using apache 2 php 5 installed on windows xp home edition, I have the same problems. I am certain that the extension_dir and php_gd2.dll parts of php.ini are all settled.
what can I do next?
A PHP User - 07 Sep 2008
Using apache 2 php 5 installed on windows xp home edition, I have the same problems. I am certain that the extension_dir and php_gd2.dll parts of php.ini are all settled.
what can I do next?
A PHP User - 07 Sep 2008
Using apache 2 php 5 installed on windows xp home edition, I have the same problems. I am certain that the extension_dir and php_gd2.dll parts of php.ini are all settled.
what can I do next?
A PHP User - 07 Sep 2008
make sure that extension_dir = "C:\php\ext" is directed where it should go.
Sam - 07 Sep 2008
I'm still having issue after removing the comment in the php_gd2.dll line in the php.ini file. Now the error message I get is "Unable to load dynamic library './php_gd2.dll' - The specified module could not be found.
I'm using WinXP and IIS.
Sam - 07 Sep 2008
I'm still having issue after removing the comment in the php_gd2.dll line in the php.ini file. Now the error message I get is "Unable to load dynamic library './php_gd2.dll' - The specified module could not be found.
I'm using WinXP and IIS.
A PHP User - 07 Sep 2008
I am getting the same error as philippe. Undefined function and a red cross where the picture should be. Using apache 2 php 5 and mysql server 5
Philippe - 07 Sep 2008
And that this line extension_dir = "c:\php\ext" points to the correct directory ( in windows )
Philippe - 07 Sep 2008
Make sure the extension=php_gd2.dll line in your php.ini is not commented out !!
Philippe - 07 Sep 2008
When I try this code I'm nog getting any images, just a red cross.
When I try to execute the php code I get the following message : "Fatal error: Call to undefined function imagecreate() in ..."
Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.
If you are reporting an error in the content, please tell me directly.
|