HOME BLOG PORTFOLIO PHOTO CONTACT Admin Login
shell exec coding in php

{code type=codetype}

<?php

echo $ouput = shell_exec(“dir D:jaywampwwwdocs /s /b “);

?>

{/code}

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();

   Share on Facebook

Page views:782