How can I create a directory in php that is named a random 10 digit number that...

  • Thread starter Thread starter Dsfasdf A
  • Start date Start date
Use time(), which returns the number of seconds since Jan 1 1970. It is currently ten digits long, but if you plan for your program to last into the far distant future, use the last ten digits of it with substr
 
Back
Top