corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » PHP peeps


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author PHP peeps
Gary
Premium Member

Avatar

Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
25th Jan 07 at 06:46   View Garage View User's Profile U2U Member Reply With Quote

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
25th Jan 07 at 08:11   View User's Profile U2U Member Reply With Quote

Hyperlink to the exe in HTML
Gary
Premium Member

Avatar

Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
25th Jan 07 at 17:02   View Garage View User's Profile U2U Member Reply With Quote

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
25th Jan 07 at 17:18   View User's Profile U2U Member Reply With Quote

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

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
25th Jan 07 at 17:37   View Garage View User's Profile U2U Member Reply With Quote

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
25th Jan 07 at 17:40   View User's Profile U2U Member Reply With Quote

Server side: http://www.php.net/exec

Client side: you wish.
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
30th Jan 07 at 21:58   View Garage View User's Profile U2U Member Reply With Quote

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.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
My Photoshop challenge. Will you peeps take part please? madboutcars General Chat 14 397
5th May 03 at 20:09
by Sethion33
 
Subs and Amps Advice.... smarty_marty Help Zone, Modification and ICE Advice 1 107
30th Aug 03 at 22:28
by smarty_marty
 
Subs and Amps.... smarty_marty Help Zone, Modification and ICE Advice 1 748
3rd Sep 03 at 14:03
by AustinPXX
 
YORKSHIRE PEEPS....... Kerry General Chat 2 129
24th Sep 03 at 13:23
by Kerry
 
what are the best subs for.... SXi_Tim Help Zone, Modification and ICE Advice 22 1681
12th Jan 04 at 23:37
by SXi_Tim
 

Corsa Sport » Message Board » Off Day » Geek Day » PHP peeps 28 database queries in 0.0161471 seconds