I currently have this 1 link that, if visited, it reboots my server. I'm trying to make a php page with a button on there so when I hit the button, it executes the link to reboot my machine but instead of being redirected to that link after clicking the button, I'd like to remain on the page.
Is there some kind of special form command to do that so I don't get redirected to the link, I just stay on the same site but my machine is still rebooted?
Can someone provide me with a sample code to do so, using
http://blalblahblah.com/reboot/xx.xx.xxx.xx as the reboot link?
Thanks
Also, is there a way to make a certain page only accessible from 1 IP?