上傳-----文件名稱的替換

  public function newName($name){     //獲取文件後綴名     $extension = substr($name,strrpos($name,"."));     //當前時間轉化爲毫秒----microtime     $md5 = md5(microtime().rand(10000,1000000)); $fileName="./Upload
相關文章
相關標籤/搜索