2010-06-25 506 views
-1

我们如何在windows中执行php中的ffplay.exe文件,有什么方法可以帮助我解决一些代码问题。php-从php执行一个exe文件

+0

http://au2.php.net/manual/en/function。 exec.php – 2010-06-25 06:39:50

+0

可能的重复[php - 添加视频到php](http://stackoverflow.com/questions/3115893/php-adding-video-to-php) – 2010-06-28 07:01:27

回答

2
`ffplay.exe ...` // Using backticks 
exec('ffplay.exe ...') // Using exec 
shell_exec('ffplay.exe ...') // Using shell_exec 
system('ffplay.exe ...') // Using system 

有什么各自的这些呢,所以检查出的参考

参考 微小变化 - http://ca2.php.net/manual/en/book.exec.php