EXE file running in Web Page
Moderator: General Moderators
-
stantheman
- Forum Commoner
- Posts: 38
- Joined: Wed May 26, 2004 8:57 am
EXE file running in Web Page
I was wondering if there is a way to run and exe file right on the web page. I have a virtual tour which is a exe file and i want it to open and run upon opening the window
There are manny ways i think to do so,
either in java or php ( with prompting the user ofcourse, if he indeed wants to do so. )
did you check
http://www.php.net
either in java or php ( with prompting the user ofcourse, if he indeed wants to do so. )
did you check
Code: Select all
<?php
exec();
?>- launchcode
- Forum Contributor
- Posts: 401
- Joined: Tue May 11, 2004 7:32 pm
- Location: UK
- Contact:
exec won't work - it'll run a server installed file, but certainly not one that would pop-open onto a users machine like a traditional Windows application. The only way is to make the user download the exe first - you cannot just execute it on their behalf, think of all the trouble it would cause if you could.
Best bet is probably to re-write the application in a "web friendly" language like Flash or Java.
Best bet is probably to re-write the application in a "web friendly" language like Flash or Java.
- dull1554
- Forum Regular
- Posts: 680
- Joined: Sat Nov 22, 2003 11:26 am
- Location: 42:21:35.359N, 76:02:20.688W
i have seen some sites that use executables for thier pages, not sure what language it is written in but they pass varriables to the executable just like anything else, not sure if it is just messing with the user because it would not be too hard to make a .php file a .exe file, just tell apache to parse .exe files with the apache interpreter, might make problems on a windows server.....but not on a linux server....
....mind you this is just useless babble...
....mind you this is just useless babble...
- launchcode
- Forum Contributor
- Posts: 401
- Joined: Tue May 11, 2004 7:32 pm
- Location: UK
- Contact:
- launchcode
- Forum Contributor
- Posts: 401
- Joined: Tue May 11, 2004 7:32 pm
- Location: UK
- Contact:
- launchcode
- Forum Contributor
- Posts: 401
- Joined: Tue May 11, 2004 7:32 pm
- Location: UK
- Contact:
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
- dull1554
- Forum Regular
- Posts: 680
- Joined: Sat Nov 22, 2003 11:26 am
- Location: 42:21:35.359N, 76:02:20.688W
acctually i know that you can launch a program on a clients computer, have you ever been on http://www.aim.com after registering a s/n there is a link that uses javascript to launch aim on your computer, not sure how it works but i know it can be done
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
it doesn't use javascript. After you've installed AIM, it also creates a new protocol handler (aim) so you can use url like aim:goim, aim:gocaht, and if you just have aim: it will start AIM. viewtopic.php?t=20345
- launchcode
- Forum Contributor
- Posts: 401
- Joined: Tue May 11, 2004 7:32 pm
- Location: UK
- Contact: