JAY BHARAT, software enginer, php programmers, software engineer, jay bharat ,9844542127

 
»
S
I
D
E
B
A
R
«
shell_exec +php
June 8th, 2009 by admin
<?php
echo $ouput = shell_exec("dir  D:\jay\wamp\www\docs\  /s /b ");
?>

Using shell_exec() command you can run any command based .exe file.

In above example I am writing a command based command that listed the file inside the folder “docs”.

you can pass any .exe file parameter through shell_exec();


Leave a Reply