Can someone help me, I recently was asked to take a technical test as part of an interview and they picked up on some code.
Up to date, I have accessed any querystring variables like so:
if($HTTP_GET_VARS){
extract($HTTP_GET_VARS);
}
Then say if the variable I am passing is ?id, I would access the variable using $id.
The guy in question enquired why I was still coding with register globals on. To my mind I wasn't.
Anyone care to explain the finer point of PHP I have missed here???