What is the purpose of exec() function in PHP?

I saw this tutorial
http://www.phpro.org/tutorials/Video-Conversion-With-FFMPEG.html
and this makes me think that PHP can be used to execute programs installed on servers. Kindly explain in more detail with some example.
 
Back
Top