Hi Guys i plan to create visitor unique ID and named as log file, as existing now i use the ip visitor as log file name i.e. logs/127.0.0.1.php but i think is not enough because some visitor using share an ip address for PC's. the visitor log file itself as setting place of configuration of visitors itself, so i plan to add the another unique ID to identification each different visitor so let 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) existing i use:
<?
$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);
?>
so i need $filename add the $unique ID as name of their log file any idea to do that?...