PDA

View Full Version : Kristall Panel - HELP



Lilian
12-02-2007, 10:53 AM
Im getting an error with the image thing on Kristall Panel Can anyone help?

Im getting this error:
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/name/public_html/dir/dir/KristallPanel/imagever.php on line 5Heres the code:

<?php
session_start();
$alphanum = "ABCDEFGHIJKLMNPRSTUVWXYZabcdefghijklmnpqrstuvwxyz1 23456789";
$rand = substr(str_shuffle($alphanum), 0, 8);
$image = imagecreatefromjpeg("imgver.jpg");
$textColor = imagecolorallocate ($image, 255, 255, 255);
imagestring ($image, 5, 40, 8, $rand, $textColor);
$_SESSION['image_rand_str'] = md5($rand);
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header('Content-type: image/jpeg');
imagejpeg($image);
imagedestroy($image);
?>+REP To anyone who can help me.

Nick.
12-02-2007, 10:53 AM
Do you have GD installed on your server?

Lilian
12-02-2007, 10:58 AM
Im not sure.

Nick.
12-02-2007, 11:00 AM
Ask your host, if you haven't then that's the problem I think. :)

Lilian
12-02-2007, 11:01 AM
Ok thanks.

phpme
16-04-2007, 04:14 AM
oi i know open up index.php highlight the image Form Box then the image & delete imagever.php Then Upload it'll get rid of the Image Code Login Script & all u'll need it a Login User & Pass

Thats k for my Help :)

:Edzy
16-04-2007, 07:51 AM
yer u need GD

Want to hide these adverts? Register an account for free!