Last active
March 19, 2022 19:50
-
-
Save osmanmakal/8451f46aafcb9b63f70f2af16979721a to your computer and use it in GitHub Desktop.
It allows you to check whether there is an original license for the web hosting service you purchased.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$curl = curl_init(); | |
curl_setopt($curl, CURLOPT_URL, 'https://myip.cpanel.net/v1.0/'); | |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); | |
$addr = curl_exec($curl); | |
curl_close($curl); | |
header('Location: https://verify.cpanel.net/app/verify?ip='.$addr, true, 303); | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment