Qee zaum koj yuav tsum nrhiav seb leej twg, thaum twg, los ntawm tus ip-address tau mus ntsib koj li Internet is taws nem. Cov ntaub ntawv ntxaws ntxaws no tuaj yeem tau los ntawm kev txhim kho cov ntawv sau yooj yim ntawm nplooj ntawv ntawm koj lub xaib.
Nws yog qhov tsim nyog
- - PC nrog Windows operating system raug ntsia;
- - siv Is Taws Nem.
Cov Lus Qhia
Kauj ruam 1
Siv lub rooj tsav tsheb dawb rau cov khoom siv Is Taws Nem. Ua raws li qhov txuas https://gostats.ru/, nrhiav cov ntaub ntawv hais txog leej twg tau mus saib koj lub xaib thiab kawm cov ntaub ntawv muab. Nruab qhov chaws cim txee rau ntawm koj lub xaib thiab tau txais cov ntaub ntawv tsim nyog txog cov neeg siv uas tau mus xyuas koj cov peev txheej. Koj tuaj yeem siv cov kev pabcuam ntawm cov kev pabcuam nyob ntawm https://iplogger.ru/, uas muaj cov yam ntxwv zoo sib xws. Tab sis qhov no, tsis muaj kev lees paub tias qhov txuas ntxiv rau lub vev xaib yuav tsis coj mus rau tus neeg tsis tsim txiaj uas nyiag cov ntaub ntawv tsis pub lwm tus neeg siv.
Kauj ruam 2
Yog tias koj tsis ntseeg cov kev pabcuam thib peb, teeb tsa thiab teeb tsa cov nyiaj ntawm tus ip-chaw nyob ntawm koj tus neeg tuaj saib lub vev xaib ncaj qha rau nws. Muab tshuaj txhuam rau ntawm nplooj ntawv, tom qab kev kaw / html kaw, cov cai:
$ ip = getenv ("REMOTE_ADDR");
$ hnub = hnub ("d M Y, H: i: s");
$ tus neeg saib xyuas = getenv ("HTTP_USER_AGENT");
$ str = ("
Cov Ntaub Ntawv - $ hnub
Ip - $ ip
Browser - $ tus neeg sawv cev
------- );
$ log = fopen ("base.php", "a +");
fwrite ($ log, "\ n $ str / n");
fclose ($ log);
?>
thiab xyuas seb leej twg tau ntsib koj lub xaib.
Kauj ruam 3
Nrog kev pabcuam ntawm cov cai no, sau hauv PHP, koj yuav pom txog lub sijhawm ntawm kev mus ntsib koj lub xaib. Tau cov ntaub ntawv hais txog lub vev xaib siv los ntawm tus qhua thiab nws tus ip-address. Txhua cov ntaub ntawv no tau sau tseg hauv ntaub ntawv hauv paus.php. Txhawm rau tsim nws, qhib Notepad, ua kom cov ntawv sau hauv nws, thiab khaws nws hauv hauv paus. Hauv cov ntaub ntawv npe, hloov txt txuas ntxiv nrog php thiab muab tso rau hauv cov ntawv qhia hauv paus. Nkag mus rau hauv koj lub browser: _https://your_site_address/base.php thiab xyuas seb leej twg tau ntsib koj lub xaib. Txhawm rau ua cov ntaub ntawv los ntawm cov ntaub ntawv nrog cov ntawv ceeb toom zais ntshis, sau rau kab hauv nws daim foos: "Koj tsis muaj cov ntaub ntawv no"; tawm; ?> ".