thanx Stephen, I really appreciate it.. well, it seems like it isn't loading it, because I dont even have a paragraph about GD in the phpinfo file...
like i wrote in one of my earlier posts, I re-installed php yesterday, so it is really wierd.. anyway, what to do now??? kimblim | www.kimblim.dk ----- Original Message ----- From: "Stephen Edmonds" <[EMAIL PROTECTED]> To: "kim johannesen" <[EMAIL PROTECTED]> Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 6:45 PM Subject: Re: [PHP-INST] first post, be gentle > Okay, its a good start. First, we will check that GD is actually being > started by php. > > Create a new file and call it test.php > Into the file put this: > <?php > phpinfo( 8 ); > ?> > > Then browse to the test.php file. It will output a list of all the installed > modules on your version of php. Then, all you need to do is look for the > section called 'GD'. On my php installation, phpinfo(8) output the following > about GD: > > GD Support enabled > GD Version bundled (2.0 compatible) > FreeType Support enabled > FreeType Linkage with freetype > JPG Support enabled > PNG Support enabled > WBMP Support enabled > > > If you can find something similar on your version of phpinfo, then we know > that it is being correctly activated by php. If you can't, then we know > there is a problem somewhere when you try to load it. For your reference, > you can view what is output by my phpinfo(8) at > http://scryt.no-ip.com/test.php > > Let me know how it goes! > > Stephen > > ----- Original Message ----- > From: "kim johannesen" <[EMAIL PROTECTED]> > To: "Stephen Edmonds" <[EMAIL PROTECTED]> > Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]> > Sent: Friday, January 03, 2003 5:35 PM > Subject: Re: [PHP-INST] first post, be gentle > > > > ok, tried it, and the log now reads: > > > > [03-Jan-2003 18:26:39] PHP Fatal error: Call to undefined function: > > imagecreate() in C:\shares\sites\dvd\php\rating.php on line 7 > > > > and that file looks like this: > > > > <?php > > header("Content-type: image/png"); > > > > $width = 60; > > $height = 12; > > > > $image = imagecreate($width, $height); > > > > $red = imagecolorallocate($image, 255, 0, 0); > > > > $im = imagecreatefrompng ("../images/ratingBackground2.png"); > > $im2 = imagecreatefrompng ("../images/ratingBackgroundBlank2.png"); > > $i = imagecopyresized($image, $im2, 0, 0, 0, 0, $width, $height, $width, > > $height); > > > > $newWidth = $width * ($rating / 5); > > $i = imagecopyresized($image, $im, 0, 0, 0, 0, $newWidth, $height, > > $newWidth, $height); > > > > imagecolortransparent($image, $red); > > > > imagepng($image); > > > > imagedestroy($image); > > > > ?> > > > > is this making any sense at all? > > > > .kim > > ----- Original Message ----- > > From: "Stephen Edmonds" <[EMAIL PROTECTED]> > > To: "kimBlim" <[EMAIL PROTECTED]> > > Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]> > > Sent: Friday, January 03, 2003 4:07 PM > > Subject: Re: [PHP-INST] first post, be gentle > > > > > > > Try the following: > > > > > > Go into PHP ini and make the following changes: > > > log_errors = On > > > error_log = C:\PHP\errorlog.txt > > > > > > Then, go into C:\PHP, and create a file called errorlog.txt. Then, try > to > > > start your webserver up and access the php page. Hopefully, the file > will > > > then be filled with the error messages. It may help us to track down the > > > problem... hopefully anyway! > > > > > > ----- Original Message ----- > > > From: "kimBlim" <[EMAIL PROTECTED]> > > > To: "toby -" <[EMAIL PROTECTED]> > > > Cc: <[EMAIL PROTECTED]> > > > Sent: Friday, January 03, 2003 2:13 PM > > > Subject: Re: [PHP-INST] first post, be gentle > > > > > > > > > thanx for the tip, but im using IIS :( > > > > > > kimblim | www.kimblim.dk > > > > > > ----- Original Message ----- > > > From: "toby -" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Cc: <[EMAIL PROTECTED]> > > > Sent: Friday, January 03, 2003 3:10 PM > > > Subject: Re: [PHP-INST] first post, be gentle > > > > > > > > > > > > > > kim > > > > > > > > if ur using apache try copying ur extensions folder to > > > > \Program Files\Apache Group\Apache\ > > > > > > > > its rathr silly but thats how i got it workin fo me > > > > > > > > hope dis helps .... > > > > > > > > good luck .... > > > > > > > > toby ..... > > > > > > > > > > > > > > -- > > > PHP Install Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php