I need a PHP class for running nodejs script #running nodejs script
Edit
by Rebecca Santos - 3 years ago (2021-10-27)
How to execute nodejs script using exec()
| I want to run a NodeJS script from PHP. |
Ask clarification
1 Recommendation
PHP Node.js: Execute JavaScript using Node.js from PHP
This class can execute JavaScript using Node.js from PHP.
It can take a given JavaScript source file and executes it by running the Node.js program.
The class changes the current directory to the path of the given JavaScript file.
Optionally it can output debug messages, pass an array of parameters to JavaScript and pre-load jQuery.
| by Manuel Lemos 26695 - 3 years ago (2021-10-28) Comment
The solution for this problem is a very simple task to do using just some PHP code. Just try this class so you can learn how to do it. |