<?php

if(isset($_POST['act']) && $_POST['act'] == 'getcookie')
{
	if(isset($_COOKIE['sample']))
	{
		print "resp=" . $_COOKIE[$_POST['cookieName']];
	}
	else
	{
		print "resp=" . "cookie_not_found";
	}
}

?>