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
Printable View
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
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.
try flash or javascript, i'm not sure if its possible with javascript either.
it's not possible with either. that would be a humongous security risk.
Kows is right, it is not possible.
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.
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 ;)
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
thats a good idea, i think i'm gonna do something like that sometime.