i have this request method:
if (!$_REQUEST['0']) {
echo "Address missing...";
die();
} else {
code
code etc.
}
And address is: http://localhost/api.php?0=address
If I open: api.php?0=0
I should get another error which says address doesn't correct. But I get Address missing
... In my opinion something wrong with:
if (!$_REQUEST['0'])
Any ideas?