I asked How to view MySql Fulltext Indexs and got myisam_ftdump as answer. But it’s just a command line tool and I need to retrieve those information from PHP.
Is there any way to retrieve MySql Fulltext indexs information from PHP?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I had a look, and what you’re asking for doesn’t appear to be very common. The simplest solution I can see is to use PHP’s EXEC command to run the myisam_ftdump command, dumping the output file as a txt in a folder that you can access from PHP:
The alternative would be a scheduled task or cron job to execute the command, but you’ll have to code up your PHP to turn the output into what you want.