lundi 16 février 2015

Php fopen create random int

right now I am struggling to right a new file to a server by using the fopen. I can use the fopen but it needs to be like this:



$myfile = fopen("newfile.html", "w") or die("Unable to open file!");


I want instead of "newfile.html" to write a random file name with random integers. Is this possible? Let me know.


Aucun commentaire:

Enregistrer un commentaire