intval($mybb->input['id']
#1
I am trying to return the value of the input: test.php?action=read&id=this with intval($mybb->input['id'] but it returns 0 whenever the value is not numeric!

$_GET['id'] does return it but it's not secure! Any ideas????
Reply


Messages In This Thread
intval($mybb->input['id'] - by marcus123 - 2015-06-19, 12:26 PM
RE: intval($mybb->input['id'] - by Jones H - 2015-06-19, 01:41 PM
RE: intval($mybb->input['id'] - by Matt - 2015-06-19, 02:08 PM
RE: intval($mybb->input['id'] - by marcus123 - 2015-06-19, 02:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)