i want develop below functionality, getting stuck how start. if developed please me.
reboot server
block ip address
this tool should written in php , utilize existing rackspace php sdk:
https://developer.rackspace.com/sdks/php/
the script need store hardcoded username , api key; information used access api.
the reboot i'm not sure of. block ip store ip's visit site in database. have column heading blocked. when user information column. , use code after.
if($user_id_blocked = 'blocked'){ die('you have been blocked. please contact admin.'); }
Comments
Post a Comment