<?php

include_once "polaroider.php";
//Generate the polaroid form the GET-strings...
$polaroidi = new Polaroid($_GET['photo'], "255,255,255", $_GET['angle'], $_GET['text'], 0, 0);
$polaroidi->CreatePolaroid();
?>

Ejemplo n.º 2
0
<?php

// Include class to get,rotate and polaroid picture
include_once "class/polaroider/polaroider.php";
$picurl = $_GET['url'];
$picangle = $_GET['angle'];
$pictext = $_GET['text'];
$polaroid = new Polaroid($picurl, "", $picangle, $pictext, 0, 0);
$polaroid->CreatePolaroid();