I'm making a webpage, and want to send a variable with GET, it will be a number.
is this "inject-proof" enough?
if (isset($_GET['id']))
if(is_numeric($_GET['id']))
I'm making a webpage, and want to send a variable with GET, it will be a number.
is this "inject-proof" enough?
if (isset($_GET['id']))
if(is_numeric($_GET['id']))