Is it possible to make a filename visible?
Posted: Mon Feb 02, 2004 7:48 am
I need to be able to see the file name, as it will be radom, however, I do not want it to be accessible by this. More as a reference number than anything else.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
function WriteToFile($firstname){
$str= md5(time().MD5(rand(100, 489754)).time());
$Open = fopen ($str,"a");
if($Open){
fwrite ($Open,"$firstname");
fclose($Open);