Dear friends,
I want to get user information with php code. so i use this code.but my problem is the “textfile.txt” is always over write and it is not randomly save…so i want to add current time to my result file…
ex: “textfile.txt” to
“2011/03/20 07:16:17.txt”
or random name…
ex: “textfile.txt” to
“textfile1.txt”
“textfile2.txt”
“textfile3.txt”
[php]<?php
system(‘getmac >textfile.txt’);
$mycom=ob_get_contents();
ob_clean();
?>[/php]
How to fix my problem?
plz give me a some successful php code…
I am Junior to the PHP :’(