Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
33 user(s) are online (25 user(s) are browsing Forums)

Members: 0
Guests: 33

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: DOpus5 frustration

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

@nbache

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