Well if I'd want to get info from SRL Stats, what would I need to do?
Here is my code
PHP Code:<?php
header('Content-type: image/png');
$text = 'Time Ran';
$im = imagecreatefrompng ("edgecutter.png");
$color = imagecolorallocate($im, 255, 0, 0);
$font = 'arial.ttf';
$fontsize = 10;
$size = imagettfbbox($fontsize, 0, $font, $text);
imagettftext($im, $fontsize, 0, 461, 57, $color, $font, $text);
$text = 'Logs cut';
$size = imagettfbbox($fontsize, 0, $font, $text);
imagettftext($im, $fontsize, 0, 461, 77, $color, $font, $text);
$text = 'Ents dodged';
$size = imagettfbbox($fontsize, 0, $font, $text);
imagettftext($im, $fontsize, 0, 484, 135, $color, $font, $text);
imagepng($im);
imagedestroy($im);
?>
And the page I want to get info from:
http://stats.srl-forums.com/index.ph..._script&id=483
As you maybe can see, things I need are Time ran (Xh YMin), Logs Cut and Ents dodged.
Now, help please![]()







Reply With Quote





