open.mp forum
IP verification / Allow - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: General (https://forum.open.mp/forumdisplay.php?fid=19)
--- Forum: Programming (https://forum.open.mp/forumdisplay.php?fid=56)
--- Thread: IP verification / Allow (/showthread.php?tid=1262)



IP verification / Allow - 3kisde - 2020-10-22

Hello brothers, i want to try to make an ip verification, but i dont know how to send an command like sudo from php, i want to get the ip of the website visitor and send an iptables/ufw or other command allowing his ip, any suggestions/ideas/help? im very newbie in php and ubuntu? :(


RE: IP verification / Allow - Awide - 2020-10-23

https://stackoverflow.com/questions/3003145/how-to-get-the-client-ip-address-in-php