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?


I'm new to PHP, and would like to know if there is a code snippet for emailing a lost password to a subcriber

First, we must assume that you are currently storing the username/login, password and the email...

I used PHP for one of the web sites I would like to move over to your hosting service. Is PHP fully supported and (if so) what versions of PHP are supported?

Yes, PHP is fully supported and we do support PHP 5.

Where can I get documentation for the Zend API?

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

What does parsing means in PHP?

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