[Only registered and activated users can see links. Click Here To Register...] :handsdown: :handsdown:
Found here: [Only registered and activated users can see links. Click Here To Register...]Quote:
To all the hard working developers.
I've ripped of all GG parts, and here is the result.
[Only registered and activated users can see links. Click Here To Register...]
If you don't know how to use them, then don't ask -.-
Best Regards Bau
<?php
header('Content-Type: image/png');
if(isset($_GET['gate']) && !empty($_GET['gate'])){
$id = $_GET['gate'];
}else{
$id = 1;
}
if(isset($_GET['p']) && !empty($_GET['p'])){
$a = $_GET['p'];;
}else{
$a = 0;
}
$width = 235;
$height = 290;
$img = imagecreatetruecolor($width, $height);
imagesavealpha($img, true);
$color = imagecolorallocatealpha($img, 0, 0, 0, 127);
imagefill($img, 0, 0, $color);
for($i =1; $i<$a; $i++){
$top_image = imagecreatefrompng("gates/gate".$id."/gate_".$id."_".$i.".png"); // edit the url so it fits your image location
imagecopy($img, $top_image, 0, 0, 0, 0, $width, $height);
}
imagepng($img);
imagedestroy($img);
?>