Browsing index pages (2 articles)
↧
Hash and upload an image file at the same time using php
I am trying to upload an image to a server using PHP and calculate the hash of the same image using md5_file. but somehow it is not referring to the directory either and not calculating the hash of the...
View ArticleAnswer by Memborg for Hash and upload an image file at the same time using php
Just hash the temporary file before moving it to the final destination.$hash = md5_file($filetmp);...$upload = move_uploaded_file($filetmp,$final_dir);
View Article
Browsing index pages (2 articles)