rejetto forum

Author Topic: hfs and php/mysql  (Read 24379 times)

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
  • Posts: 13510
    • View Profile
Re: hfs and php/mysql
« on: May 25, 2014, 10:13:52 PM »
bmartino1, as i said you, you can use HFS scripting system to achieve what you want, you don't need to modify HFS itself, so you don't need to compile it.

You want to run commands to MySQL. Fine.
Create a software that reads from a file the query/command, and gives the output on the standard output.
Let's say this program is called "dbrun".
You can create this program with the language or tool you want.

Whenever you need to execute a command X in mysql from HFS you will just do this way

{.save|commands.txt|X.}
{.exec|dbrun|out=result.}

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team