A nice way to get the value of a $_GET in php

Tagged:  

Here is a nice way to get the value of a $_GET in php (i think it will also work with $_POST)

function get($value)

{
   $valoare = isset($_REQUEST[$value]) ? addslashes(strip_tags($_REQUEST[$value])) : '';
   return $valoare;
}