Location: PHPKode > projects > PhpBlock > A9.8/script/imagecolor.php
<?php
include_once "../site.class.php";
include_once $PATH_TO_CODE."/script/block.class.php";

$locSize=$_GET["size"];
$locColor=$_GET["color"];
$locAlpha=$_GET["alpha"];
$locLostOfControlTickRemaining=$_GET["lostOfControlTickRemaining"];

$locImg = Block::getImageColor($locSize, $locColor, $locAlpha, $locLostOfControlTickRemaining);

header("Content-Type: image/png");
header("Expires: ".date("r", time()+3600*24*60));

ImagePng($locImg);
ImageDestroy($locImg);
?>
Return current item: PhpBlock