|
-
Nov 6th, 2009, 11:35 PM
#1
Thread Starter
Fanatic Member
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
-
Nov 7th, 2009, 01:01 AM
#2
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.
-
Nov 24th, 2009, 02:46 PM
#3
Fanatic Member
Re: Launch a .exe file using php?
try flash or javascript, i'm not sure if its possible with javascript either.
-
Nov 24th, 2009, 04:48 PM
#4
Re: Launch a .exe file using php?
it's not possible with either. that would be a humongous security risk.
-
Nov 25th, 2009, 12:26 AM
#5
Banned
Re: Launch a .exe file using php?
Kows is right, it is not possible.
-
Nov 28th, 2009, 01:49 PM
#6
Fanatic Member
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.
-
Nov 28th, 2009, 04:24 PM
#7
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 ;)
-
Nov 28th, 2009, 05:15 PM
#8
Hyperactive Member
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
-
Nov 29th, 2009, 02:30 AM
#9
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|