Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
- $whois ="whois " . $_SERVER['HTTP_X_FORWARDED_FOR'] ." | grep netname";
- }
- else{
- $whois ="whois " . $_SERVER['REMOTE_ADDR'] ." | grep netname";
- }
- $isp_user = exec($whois);
- ...
Add Comment
Please, Sign In to add comment