Remember me

Lost Password?

Register now!


Who's Online
109 user(s) are online (90 user(s) are browsing Forums)

Members: 3
Guests: 106

jabirulo, mufa, Sbaitso, more...

Support us!

Recent OS4 Files

Report message:*

Re: DOpus5 frustration

Subject: Re: DOpus5 frustration
by LiveForIt on 2014/6/22 22:26:37


Resized Image

If you match the first 4 bytes in the PDF file it should work, auto detecting the PDF format is bit more tricky.

25 50 44 46

Anyway detecting file type by file extension is faster then open a file to check some content of the file, maybe some thing to keep in mind when you have 1000 of files in directory.

Anyway its also nice to be able to indemnify files that might have wrong file extension.

So there are always cons and pros.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project