Am working on a small project
www.liveforspeed.no/card.php
I am curiouse how to generate the www.lfsworld.net/isonline.blackfang
into the generated image.
I have tried several ways but cant get the isonline.blackfang to get into the image.
For me it seems that LFSW takes too long when am trying to include the image, so the image is not loaded enough to get into the image.
Any suggestions?
www.liveforspeed.no/card.php
I am curiouse how to generate the www.lfsworld.net/isonline.blackfang
into the generated image.
<?php
$license = $_GET['license'];
$ingame = $_GET['ingame'];
$team = $_GET['team'];
$cars = $_GET['cars'];
$url = $_GET['url'];
Header ("Content-type: image/jpeg");
$img_handle = imageCreateFromJPEG("card.jpg");
$color = ImageColorAllocate ($img_handle, 255, 255, 255);
ImageString ($img_handle, 30, 57, 255, $license, $color);
ImageString ($img_handle, 30, 57, 337, $ingame, $color);
ImageString ($img_handle, 30, 360, 255, $cars, $color);
ImageString ($img_handle, 30, 360, 337, $url, $color);
ImageString ($img_handle, 30, 57, 425, $team, $color);
ImageAlphaBlending($img_handle, false);
ImageJPEG ($img_handle);
ImageDestroy ($img_handle);
}
?>
I have tried several ways but cant get the isonline.blackfang to get into the image.
For me it seems that LFSW takes too long when am trying to include the image, so the image is not loaded enough to get into the image.
Any suggestions?