Dear all,
Is there anyway that I can put .exe file on the web, and allow visitors only to run it, not download it.
Regards, DT
*Checks list address* Yep, php list. In a word, no.
Well how about, in a word, it depends. Okay that's 2 words:)
Check out:
http://www.php.net/manual/en/language.operators.execution.php http://www.php.net/manual/en/function.shell-exec.php http://www.php.net/manual/en/function.exec.php
It may be what you are looking for.
ck
Those are all fine and dandy if you want to run the file (*.exe or whatever) on the same machine that php is running on. However, to run it on the remote machine, it IS going to be downloaded. Even though the OP was not clear about where the program was to be run, I would have to guess that he/she is refering to the remote (client) machine. So, no, it can't be done.
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php