brandonsavage / Upload

File uploads with validation and storage strategies
MIT License
1.67k stars 315 forks source link

getmd5() after uploading the file causing a warning. #102

Open AnixPasBesoin opened 7 years ago

AnixPasBesoin commented 7 years ago

Let's go strait to it! A code like this one:

try{ $file->upload(); $file->getMd5(); // This line }catch (...) {...}

Is causing a warning:

warning: md5_file(...\tmp\phpA6C9.tmp): failed to open stream: No such file or directory

miltoning commented 7 years ago

I have the same problem too :/