Get up to 80 % extra points for free! More info:

album.php

class which generates black squares

php

<?php

class Album
{
	var $source;
	function __construct(){
		$img = imagecreate(200,200);
		$bgcol = imagecolorallocate($img, 0,0,0);
		imageline($img, 0, 0, 200, 200,$bgcol);
		imagepng($img, "album.png");
		$this->source = "<img src = 'album.png'/>";
	}
	
	function pass(){
		return $this->source;
	}
}

?>

Raw

Added: 3/29/2018
Expires: Undefined

Activities