mnoGoSearch mime type problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I am doing a Document Management System.
All the uploaded docs are stored in a directory, but the names ae
as a long text without any extension.

I use mnoGosearch. To Do search within files and documents,
All mime types should be specified in indexer.conf.

As i have files with encrypted names and no extensions,
They are not indexed by mnoGoSearch.

How to make mnogosearch to detemine the filetype automatically.?

Note: the command "file asajhfjsdiufhjkdfhskjf34287jnjk" gives the
proper file type of it.
eventhough the file name is encryted.


Re: mnoGoSearch mime type problem

Should be able to read the MIME type of the file..

Forget what the function is but searching for 'mime type' on
should give you the base, then you have to integrate it into your


shrini wrote:

Quoted text here. Click to load it

Re: mnoGoSearch mime type problem

flamer wrote:
Quoted text here. Click to load it

Thanks Flamer.

But, I store the mime type of each file in MySQL database
before encrypting the file names.

How to integrate the database with mnogosearch configuration file?

I can even use php to get file type.

Thanks for your immediate reply.


Site Timeline