rendered paste body<?php
include("../database.class.php");
include("../functions.php");
extract($_GET);
if( $action === "putCookie" ) {
if(<post-arrays-aren't-empty-I-Cut-This>) {
putCookie($_POST['title'], $_POST['bgcolor'], $_POST['font'], $_POST['fsize']);
$result .= "Cookie Set!!!!";
} else {
$result .= "Form was not completely filled!";
}
}
function putCookie($title, $bgcolor, $font, $fsize) {
SetCookie("title", $title, time()+3600);
SetCookie("bgcolor", $bgcolor, time()+3600);
SetCookie("font", $font, time()+3600);
SetCookie("fsize", $fsize, time()+3600);
}
echo $doctype;
?>