lidonghe 发表于 2017-12-30 06:03:07

php 获取真实ip

1 HTTP/1.1 200 OK  

2 Date: Wed, 08 Mar 2017 02:57:08 GMT  

3 Server: Apache/2.4.9 (Win32) PHP/5.5.12  
4 X-Powered-By: PHP/5.5.12
  
5 Content-Length: 2028
  
6 Connection: close
  
7 Content-Type: text/html
  
8
  
9 Array
  
10 (
  
11 => www.my.com
  
12 => */*
  
13 => http://www.163.com/
  
14 => 2.2.2.2
  
15 => 3.3.3.3,8.8.8.8
  
16 => application/x-www-form-urlencoded
  
17 => 100-continue
  
18 => C:\Program Files\Java\jdk1.8.0_31\bin;C:\Program Files\Java\jdk1.8.0_31\jre\bin;C:\Program Files\Java\jdk1.8.0_31\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\bin;C:\Program Files (x86)\MacType;F:\Program Files\TortoiseSVN\bin;C:\Python27\;C:\Program Files\nodejs\;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;E:\WAMP\bin\php\php5.5.12;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
  
19 => C:\WINDOWS
  
20 => C:\WINDOWS\system32\cmd.exe
  
21 => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  
22 => C:\WINDOWS
  
23 => <address>Apache/2.4.9 (Win32) PHP/5.5.12 Server at www.my.com Port 80</address>
  
24
  
25 => Apache/2.4.9 (Win32) PHP/5.5.12
  
26 => www.my.com
  
27 => 127.0.0.1
  
28 => 80
  
29 => 127.0.0.1
  
30 => E:/WAMP/www/my
  
31 => http
  
32 =>
  
33 => E:/WAMP/www/my
  
34 => admin@example.com
  
35 => E:/WAMP/www/my/ip_response.php
  
36 => 59461
  
37 => CGI/1.1
  
38 => HTTP/1.1
  
39 => POST
  
40 =>
  
41 => /ip_response.php
  
42 => /ip_response.php
  
43 => /ip_response.php
  
44 => 1488941828.317
  
45 => 1488941828
  
46 )
页: [1]
查看完整版本: php 获取真实ip