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

Check out the "Program Execution functions" here :

http://www.php.net/manual/en/ref.exec.php

As well as the `backtick` execution operator :

http://www.php.net/manual/en/language.operators.execution.php

Consider exec() :

exec — Execute an external program :
-------------------------------------
http://www.php.net/manual/en/function.exec.php
  • 13 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

I'm new to PHP, where should I start?

You can refer the following link to understand about PHP code,The official PHP web site as a lot...

I have starting to know a bit of PHP, now how do I...?

---------------------------Introductory PHP Tutorials :---------------------------(in no...

What's the best way to start writing a PHP program?

Firstly figure out, on paper, exactly what you want to do. Otherwise, you'll just be coding...

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...