imagecreation problems help plz

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ccrevling
Forum Newbie
Posts: 19
Joined: Mon Aug 06, 2007 1:34 pm

imagecreation problems help plz

Post by ccrevling »

hello all i have a question (well more of a problem). I created a site for a dental company and they have one section with dentist members. these are dentists and whatnot around the area. They can log in and upload their image and fill in all of their info. Well the problem i am having is i used xampp (apache and friends) on my computer and everything worked just great. Then i uploaded it to their server and i get this error:

Fatal error: Call to undefined function imagecreatefrompng() in D:\Sites\nndental\admin\myAdminFreedom\newImg.php on line 93
:banghead: :banghead: :banghead: :banghead:
and i dont really know what that error is for...

i have also check to make sure the gd was installed on the server with php and it was. What could be going on here?
if you need to see code let me know
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Re: imagecreation problems help plz

Post by JAM »

What does this gove you;

Code: Select all

<pre><?php
 print_r(gd_info());
?></pre>
ccrevling
Forum Newbie
Posts: 19
Joined: Mon Aug 06, 2007 1:34 pm

Re: imagecreation problems help plz

Post by ccrevling »

Fatal error: Call to undefined function gd_info() in D:\Sites\nndental\admin\myAdminFreedom\newImg.php on line 47

didnt work...
ccrevling
Forum Newbie
Posts: 19
Joined: Mon Aug 06, 2007 1:34 pm

Re: imagecreation problems help plz

Post by ccrevling »

well i think i figured it out... I need to activate it on the server so thnx for the help Jam...
:banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead:
Post Reply