Toon posts:

[php/gd]

Pagina: 1
Acties:
  • 34 views sinds 30-01-2008

Verwijderd

Topicstarter
na advies van een paar tweakers ivm met uploaden en resizen van plaatjes.
ben ik me in php/gd aan het verdiepen maar nu krijg ik het sterke vermoeden dat gd niet op de server staat, weet iemand hoe ik dit kan checken ?
ik heb dus een standaart phptje gemaakt
PHP:
1
<?        $x = 100 ;        $y = 100 ;        $imgp = imageCreate($x, $y);        $zwart = imageColorAllocate($imgp, 0,0,0);        $wit = imageColorAllocate($imgp, 255,255,255);        imageLine($imgp, 0, 0, $x, $y, $wit);        header("Content-Type: image/png");        imagePng($imgp);        imageDestroy($imgp); ?>

en krijg dus deze fout melding:
Fatal error: Call to undefined function: imagecreate() in /websites/hidesign.net/htdocs/amjc/44.php on line 4

en omdat imagecreate()een gd functie is (volgens mij)
iemand een andere manier hoe ik dit kan checken ?


Tia

Verwijderd

phpinfo();

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 28-08 12:00

Janoz

Moderator Devschuur®

!litemod

phpinfo()

Kom kom.. Manual lezen is niet eng...

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Dit topic is gesloten.