I'm writing an in-house module to generate a small LaTeX PDF. Within the module, how do I use PHP to utilize the command line?
+3
A:
I think what you are looking for is the function: passthru() if you want to directly send the output of your command.
Or if you run your command that command creates a file in the sever and then you send that file to the user use the command exec()
elviejo
2009-07-03 19:55:30
The link for the passthru documentation page is http://php.net/manual/en/function.passthru.php.
kiamlaluno
2009-12-16 22:55:37