[51js.com] can be displayed IP, display specific address, source program for Chinese pictures ~~

xiaoxiao2021-03-06  48

This document is: Jacker.php 0 = 1, $ xpos ) {IF ($ BITS & $ Xbit) {IMA GESETPIEL ($ color);}}} $ x = 16;}} else {imageString ($ Image, 12, $ Y Y, $ Strings [$ P], $ Color ); $ X = Strlen ($ strings [$ p]) * 9;} $ isch =! $ Isch;} return 0;

}?>

Tip: You can first modify some code and then run the code to read the IP text file. Because you just learn PHP, just contact programming, so ..... I have seen it myself, there are many places. The code can be more concise, I hope that the seniors are not laughing, help me guilty! I save you: ip.php

IF ($ IP_DETAIL [0] <= 61) {$ IP_DATA_FILE = 61;} elseif ($ IP_DETAIL [0] <= 199) {$ IP_DATA_FILE = 199;} elseif ($ IP_DETAIL [0] <= 217) {$ ip_data_file = 217;} elseif ($ IP_DETAIL [0] == 218) {$ IP_DATA_FILE = 218;} else {$ IP_DATA_FILE = 255;} if (file_exists ("ipdata / $ ip_data_file.txt")) {$ ip_fdata = FOPEN "ipdata / $ ip_data_file.txt", "r");} else {if (! ($ ip_fdata = fopen ("/ ipdata / 0.txt", "r"))) {DIE ("IP Data File Error" }}} For ($ I = 0; $ I <= 3; $ I ) {$ IP_DETAIL [$ I] = Sprintf ("% 3D", $ IP_DETAIL [$ I]);} while (! Feof) ip_fdata)) {$ IP_DATA = FGETS ($ IP_FDATA, 200); $ IP_DATA_DETAIL = SUBSTR ($ IP_DATA, 32, STRLEN ($ IP_DATA) -33) // ip Physical Address $ TEST000 = EXPLODE (".", Substr ($ IP_DATA, 0, 16)); $ TEST001 = EXPLODE (".", Substr ($ IP_DATA, 16, 16));

For ($ S = 0; $ s <= 3; $ s) {$ IP0 [$ S] = Sprintf ("% 3D", $ TEST000 [$ S]); $ ip1 [$ s] = Sprintf ("% 3D ", $ TEST001 [$ S]);

IF (Join (".", $ IP0) ​​and Join (".", $ IP_DETAIL) <= join (".", $ ip1)) {fclose ($ ip_fdata) $ FLAG = 1; Break;}}; if ($ FLAG == 0) {Echo "unknown area". "
". $ Flag;}?> Where IP address I use, IP address, I divided into five files to read and write. If you only have domestic IP, the volume should be smaller, the specific situation is specific to the specific analysis! The following is an example file: source program download address: 1: http://jacker.uni.cc/ IP.rar source program download address: HTTP: //jacker.cun.jp/ip.rar

转载请注明原文地址:https://www.9cbs.com/read-47573.html

New Post(0)