Bazı ziyaretçi kullanarak, çünkü şu anda mevcut olarak ben günlük dosyası adı yani logs/127.0.0.1.php olarak IP ziyaretçi kullanın ama bu enough olmadığını düşünüyorum, ziyaretçi benzersiz kimliği oluşturmak için plan ve log dosyası olarak adlandırılan PC için bir IP adresi paylaşmak.
The visitor log file itself as setting place of configuration of visitors itself, so I plan to add another unique ID to identify each different visitor so let's say the log file: logs/127.0.0.0.1-t3451dq.php, -t3451dq as unique ID so as long as visitor browsing on my website the unique log file as setting configuration for each user (because I use plain text)
Şu anda kullanabilirsiniz:
<?
$filename = "./logs/".$_SERVER['REMOTE_ADDR'].".php" ; //out put logs/127.0.0.1.php
$data stripcslashes($data);
// each Visitor configuration here...
// bla...bla...
/* Writing file configurations */
$buat = fopen($filename, "w+");
fwrite($buat, "$data");
fclose($buat);
?>
bu yüzden $ dosya onların günlük dosyasının ismi olarak $ benzersiz kimliğini eklemek gerek. Nasıl bunu yapmak için herhangi bir fikir?