Results 1 to 9 of 9

Thread: Launch a .exe file using php?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2009
    Posts
    876

    Launch a .exe file using php?

    Hi guys, I want to have a php file on my website and when people go to the php file on my site then it will launch a .exe file called tvr.exe

    And if tvr.exe isnt installed then it redirects to a page called install.php


    Is this possible?

    Thanks

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Launch a .exe file using php?

    nope. PHP is a server side language and has no idea what a client has installed, and could never hope to launch an application on a client's machine.

    look into ActiveX controls or something.

  3. #3
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: Launch a .exe file using php?

    try flash or javascript, i'm not sure if its possible with javascript either.

  4. #4
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Launch a .exe file using php?

    it's not possible with either. that would be a humongous security risk.

  5. #5

    Re: Launch a .exe file using php?

    Kows is right, it is not possible.

  6. #6
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: Launch a .exe file using php?

    it is possible however http://archlord.webzen.net/ is a game that launches from any webbrowser from their site on your computer... it is installed on your computer and you use a webbrowser to open it, you can't open it from your own computer if you don't open it from their site.

  7. #7
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Launch a .exe file using php?

    that's still not launching an exe using javascript, flash, or php -- it's simply having a way that a browser can interact with a program. if I type "aim:" as the protocol in any of my browser address bars and supply a few arguments, I can open an aim message to someone. or I can add someone to my aim friend list. or I can do a lot of other aim-related things.

    activeX controls can sort of do the same thing.

    I'm sure whatever they're doing is just something like that ;)

  8. #8
    Hyperactive Member
    Join Date
    May 2008
    Location
    >> ( ҉ )
    Posts
    413

    Re: Launch a .exe file using php?

    Make application which reads your website, then make php website where is control panel and if you press button it sends some word which your application can know as command and put application launch .exe file.

    E: If you launch installed .exe file from website then your .exe file must be made to know command from navigation bar.

    Example: MyProgram://Launch/-Start

  9. #9
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: Launch a .exe file using php?

    thats a good idea, i think i'm gonna do something like that sometime.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width