I want to develop below functionality, I am getting stuck how to start. If anyone already developed please help me.
Reboot Server
Block IP address
This tool should be written in PHP and utilize the existing Rackspace PHP SDK:
https://developer.rackspace.com/sdks/php/
The script will need to store a hardcoded username and API key; this information will be used to access the API.
The reboot I'm not sure of. But the block ip you could store all ip's that visit your site in a database. Have a column with the heading blocked. Then when you get the user information look for that column. And use this code after.
if($user_id_blocked = 'blocked'){
die('You have been blocked. Please contact admin.');
}