![]() |
execute an exe on the server
hello, I will be running on a windows server, and I was wondering if there was a command i could use to execute an exe file on the server.
|
Hi,
Check out these functions: http://us2.php.net/manual/en/ref.exec.php Be careful though, since running untrusted code at the command line opens up a whole can of security risks. |
Quote:
thanks! |
so, on the exec fund, where exactly does the output come from? the console of the ran program?
|
sorry, I meant exe fun, not fund...
and why does no one want to answer me? |
exec() returns whatever the program prints on stdout. So if your program is:
:
#include <stdio.h> |
thanks
and above, I meant exec func, not fund or fun, i meant FUNC...lol |
| All times are GMT -5. The time now is 1:20 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC