I am trying to validate if uploaded file is tgz/tar.gz (not just extension name). I found solution for RAR and ZIP file but cannot find anything similar for GZIP.
Thanks...
I am trying to validate if uploaded file is tgz/tar.gz (not just extension name). I found solution for RAR and ZIP file but cannot find anything similar for GZIP.
Thanks...