Yes, it is possible to do it 🙂
use:
if(!empty($GET)) extract($GET);
else extract($HTTP_GET_VARS);
when we have a url like index.php?id=23&pid=45 and above code at top of php file
we simply use $id and $pid, no need to worry about register_globals or php version 🙂