Hi men around here, well I'm building an uploader and I want it to write on a file .txt every info I know on the uploader.
But I already done this, only I want it to write a new block of info everytime I access it.
I mean: I upload a file and on the store.txt file it writes every info (ok).
But as soon as I return, and I upload a new file, it overwrite the same old infos.
How can I make it to write a new block of them everytime?
This are the instructions I'm using:
$filename = "store.txt";
$opensession = fopen ($filename, "w");
fputs ($opensession, "Username: ".$username."<br>Email Address: ".$useremail."<br>IP Address: ".$REMOTE_ADDR."<br>File uploaded: ".$fupload_name."<br>Path: ".$file_dir."<br><br>");
fclose ($opensession);
Thanks for the help!
Alberto