if ($REQUEST_METHOD=="POST")
{
$art="pippo";
}
else if ($REQUEST_METHOD=="GET")
{
$art="ciao";
}
else
{
$art="default";
}