By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,959 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,959 IT Pros & Developers. It's quick & easy.

mnoGoSearch mime type problem

P: n/a
Friends.

I am doing a Document Management System.
All the uploaded docs are stored in a directory, but the names ae
encrypted
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.

Thanks,
T.Shrinivasan.

Jul 6 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Should be able to read the MIME type of the file..

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

Flamer.

shrini wrote:
Friends.

I am doing a Document Management System.
All the uploaded docs are stored in a directory, but the names ae
encrypted
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.

Thanks,
T.Shrinivasan.
Jul 6 '06 #2

P: n/a

flamer di******@hotmail.com wrote:
Should be able to read the MIME type of the file..

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

Flamer.

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.

dear,
T.Shrinivasan.

Jul 6 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.