Roy van Arem wrote:

In gd section..... hm... I always used to use PHP 3. something and that
didn't have half the variables I can set in php4.3...... anyway this is
phpinfo:

http://62.142.245.64/g/gheos.com/test.php

No gd section or png mentioned on that page.

<br />
<b>Fatal error</b>:  Call to undefined function:  imagecreatefrompng() in

This error message is telling you that gd was not entered in the ./configure stage of compiling php.

If I put exactly the same script on my ISP's server, then it works without
any problem!
But on my pc it just does not!

If you look at a phpinfo() on your isp's server then gd must be present.

You need to recompile php, or get a distribution of it with gd present. As I only use php under linux I'm not the best person to advise where to get a suitable set of windows binaries. I suggest a search of the archives of this list as this question comes up occasionally, or try a google search. (Of course you could just load linux, but I guess that is not the answer you are looking for :-)

Hope this helps

Chris


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

Reply via email to