Gary
Premium Member
Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
|
Right, i need to launch an external .exe from php. I have never touched php before but have been told you can lauch an external program from it. The php document would be local on the machine as would be the program.
Any ideas ??
|
MikeLamb
Member
Registered: 23rd Sep 03
Location: Crowthorne Drives: Veccy SRI
User status: Offline
|
Hyperlink to the exe in HTML
|
Gary
Premium Member
Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
|
Nope, cos it brings up a security warning. I need it to be the same as clicking a shortcut on your desktop for it
|
PaulW
Member
Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
|
you can launch the exe serverside as part of a script depending on the security settings, but as for client side, you will always get a security warning unless said person clicking the link is a gimp, or its part of a trusted intranet where the rules have been somewhat 'laxed'
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
yeah its up to the client to lowere there internet security levels to stop that message
|
poole
Member
Registered: 12th Oct 03
Location: Sheffield, UK Drives: 2.5 v6 Calibra
User status: Offline
|
Server side: http://www.php.net/exec
Client side: you wish.
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Client side this is not a PHP question, its just regular HTML and perhaps Javascript or ActiveX, both of which will cause you the warnings as you are seeing.
Either way, this is not possible unless you have lowered the security client side, which you need to do at each computer and which would then potentially introduce you with problems elsewhere.
|