Re: [PHP] run exe file

2003-10-20 Thread John Nichel
Deependra b. Tandukar wrote:
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.

--
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


Re: [PHP] run exe file

2003-10-20 Thread Leif K-Brooks
Deependra b. Tandukar wrote:

Is there anyway that I can put .exe file on the web, and allow 
visitors only to run it, not download it.
No.

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] run exe file

2003-10-20 Thread Colin Kettenacker
 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
-- 
Cheap Domain Registration | Web Hosting | Email Packages | + more
Fantastic prices -- Even better service.
http://www.hosttohost.net 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] run exe file

2003-10-20 Thread John Nichel
Colin Kettenacker wrote:
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


Re: [PHP] run exe file

2003-10-20 Thread Colin Kettenacker
John Nichel [EMAIL PROTECTED] on 10/20/03 9:42 PM wrote:

 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.

That's why I said it depends:)

 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.

If your assumption is correct then yes, your answer is correct. But no harm
in presenting both options as the original question was unclear.

ck
-- 
Cheap Domain Registration | Web Hosting | Email Packages | + more
Fantastic prices -- Even better service.
http://www.hosttohost.net 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php