how to run .exe file in php?

php India
  • 13 years ago
    hai all,

    I need to run the exe file which is stored in client machine, how can i execute it from our php code?

    I have used exec(), system(), passthru() and many of things which in program execution part in php manual, But i cant run this exe...

    Can any of you give me a solution for this?.....

    thanks if any advice...

    jayanagi is online now  
  • 13 years ago

    You don't seriously think that'd be possible do you? Wink [;)]

    If it were, it would be a security loophole of monumental proportions. Letting any old web site execute whatever code it likes on a client machine? I don't think so...

  • 13 years ago
    Those functions run executeables on the server side only.  It's not possible to start an arbitrary executeable on the client side. 

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila” - Mitch Ratcliffe