How can I use PHP to call a written c interface? for example, the database query statement in PHP is directly spelled out before the question, but it is inconvenient to maintain the database after modification, so I wrote a c interface. how can I call the c interface in php? what should I configure?
Reply to discussion (solution)
The c program can only be executed as an external command in php. Obviously, this is a long journey.
Of course, you can write php extensions for php
In addition, php is interpreted and executed. it cannot be said that modifying SQL commands in php is more complicated than modifying SQL commands in c programs.
The c program can only be executed as an external command in php. Obviously, this is a long journey.
Of course, you can write php extensions for php
In addition, php is interpreted and executed. it cannot be said that modifying SQL commands in php is more complicated than modifying SQL commands in c programs.
How to execute the c program as an external command in php? how to load it, the company gave an interface. The SQL statements in php are well written, but after the database is changed, it requires a huge workload to change the SQL statements. Therefore, I am not very familiar with c and I am doing java development. Temporary task
The company gave the interface, but did not give the call instructions?
Even if you don't explain it, won't you?
That's right on the second floor !!!