How can I call a command line executable from within PHP?

Check out the "Program Execution functions" here :

As well as the `backtick` execution operator :

Consider exec() :

exec — Execute an external program :

Was this answer helpful?

 Print this Article

Also Read

How to refresh a page?


How can I take a list and make each row a value in an array?

If you have a text file that looks like this : john|orange|cow sam|green|goat...

What does parsing means in PHP?

Parsing is the process where the php source code (.php, .php3, .php4, .phtml orwhatever) is...

How to redirect from php page to another php page?

For redirecting, you can use the PHP header() function like so : header("Location:...

Where can I get documentation for the Zend API?

First, here's the official website: official documentation for the...