You are on page 1of 2

7/30/2017 PHP ::

ITPro.ir

PHP
Alighalehban 22 09:26:50 1396





.
ip.php ip.log ip.php

ip.php

<?php
;)'$file = fopen ('ip.log', 'a
;)]'$location = file_get_contents('http://freegeoip.net/json/'.$_SERVER['REMOTE_ADDR
;)"fwrite($file,$_SERVER['REMOTE_ADDR']."\r\n
;)fwrite($file,$location
>?

ip.log

;)'$file = fopen ('ip.log', 'a

API location

;)]'$location = file_get_contents('http://freegeoip.net/json/'.$_SERVER['REMOTE_ADDR

;)"fwrite($file,$_SERVER['REMOTE_ADDR']."\r\n


API

https://itpro.ir/core/functions/printversion?id=A%2F%2BUEtC1AYS6Yw7fD5rj1oqpiglc%2FTJqp4G28Z2zhko0hR5unlY5RGF8nqRM%2FcG%2FMLSAL 1/2
7/30/2017 PHP ::

;)fwrite($file,$location


, ip.php
ip.log


.
.

: - ,

https://itpro.ir/core/functions/printversion?id=A%2F%2BUEtC1AYS6Yw7fD5rj1oqpiglc%2FTJqp4G28Z2zhko0hR5unlY5RGF8nqRM%2FcG%2FMLSAL 2/2

You might also like