I trying to use fortumo web sdk So, I get last ip addresses of fortumo but I getting Error: Unknown IP
if(!in_array($_SERVER['REMOTE_ADDR'],
//add Fortumo hosted ip addresses inside the 'array'.
array(my ip addresses here)))
{
header("HTTP/1.0 403 Forbidden");
die("Error: Unknown IP");
}
Aucun commentaire:
Enregistrer un commentaire