CODE to install any exe directly to the system while save

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ovais
Forum Newbie
Posts: 2
Joined: Sun Feb 22, 2009 8:39 am

CODE to install any exe directly to the system while save

Post 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
Last edited by ovais on Mon Feb 23, 2009 9:23 am, edited 1 time in total.
divito
Forum Commoner
Posts: 89
Joined: Sun Feb 22, 2009 7:29 am

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

Post by divito »

Ya, that sounds pretty damn shady. I don't expect someone to help you.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

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

Post 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.
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

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

Post 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.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

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

Post 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.
ovais
Forum Newbie
Posts: 2
Joined: Sun Feb 22, 2009 8:39 am

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

Post by ovais »

thanx to all, i got the solution,
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

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

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