0

Is it possible to run an exe file directly onto the server without downloading/saving into client machine?
I had used that exec() function .But it is showing no display.

<?php

echo exec("d:\example\php_exe\1436.exe");

?>

Also I tried it using backticks operator

2
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by bibiki
0

could be your escape character... try writing the location of your exec file as follows:

d:\\example\\php_exe\\1436.exe

I hope that works.

0

Tried it using following..But my browser is hanged.


<?php

echo exec("d:\\example\\php_exe\\1436.exe");

?>

0

well, I don't know then what the problem could be. one final idea is to escape the underline as well, just in case...

echo exec("d:\\example\\php\_exe\\1436.exe");

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.