Skip to content
Advertisement

Tag: corrupt

Verifiy corrupted PDF using PHP

I would like to detect corrupted PDF using PHP. I have been able to determine that on not corrupted pdf I have the tag “%%EOF” at the end of the file. I also checked for this tag on corrupted and it not appear. I had the idea to automatically checked the validty of my PDF file before uploading it to

Advertisement