Page 1 of 1

CODE to install any exe directly to the system while save

Posted: Sun Feb 22, 2009 8:48 am
by ovais
ven sum 1 click on ma exe link than i want to run the exe directly from server no need to save first. plzz help me out

Re: CODE to install any exe directly to the system while save

Posted: Sun Feb 22, 2009 9:00 am
by divito
Ya, that sounds pretty damn shady. I don't expect someone to help you.

Re: CODE to install any exe directly to the system while save

Posted: Sun Feb 22, 2009 10:17 am
by John Cartwright
PHP only can access the server machine. If you want to run something on the client, that is not possible with php.

Re: CODE to install any exe directly to the system while save

Posted: Sun Feb 22, 2009 10:22 am
by Citizen
Theoretically, there could be a php module that could accomplish this, correct? There are ways of connecting via ftp, wouldn't be too much of a stretch to code something up that prompts an execution as well, albeit probably not in .exe form.

Re: CODE to install any exe directly to the system while save

Posted: Sun Feb 22, 2009 10:40 am
by John Cartwright
Citizen wrote:Theoretically, there could be a php module that could accomplish this, correct? There are ways of connecting via ftp, wouldn't be too much of a stretch to code something up that prompts an execution as well, albeit probably not in .exe form.
The best php can do it issue a header() and allow the browser to decide what to do with the file. As far as PHP is concerned though, no.

Re: CODE to install any exe directly to the system while save

Posted: Mon Feb 23, 2009 9:38 am
by ovais
thanx to all, i got the solution,

Re: CODE to install any exe directly to the system while save

Posted: Mon Feb 23, 2009 10:54 am
by Mark Baker
ovais wrote:i got the solution,
And the solution is?????

I want to know so that I can secure my desktop against it