Is there a way to run local executables via html/php?

Sar

Part of the furniture
Joined
Dec 22, 2003
Messages
2,140
As it says, I'm wanting to have my desktop as an html or php page running on my local server, and I want to have links to local apps (explorer/outlook/firefox etc).

Is this possible without getting the download dialog box?

Ta :)
 

Xavier

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,542
Sar said:
As it says, I'm wanting to have my desktop as an html or php page running on my local server, and I want to have links to local apps (explorer/outlook/firefox etc).

Is this possible without getting the download dialog box?

Ta :)

Not sure I understand, are you trying to use your desktop remotely or just start things up from afar?
 

Sar

Part of the furniture
Joined
Dec 22, 2003
Messages
2,140
No, what I want to do is run executables from a hyperlink - all locally.

IE: I have "desktop.php" or "desktop.html" set to my desktop background, and I want to have links on there that I can use just like icons on my regular desktop to run programs on my pc.
 

Xavier

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,542
Are you using IE or Firefox? Also, have you got SP2 installed?
 

JingleBells

FH is my second home
Joined
Mar 25, 2004
Messages
2,224
I would imagine that the function exec() does what you are after, read throught the comments at the bottom for how to run a process in the background and not hang php, not tested it though.
 

Xavier

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,542
That would execute at the server, not the client, unless you're suggesting he installs apache on his desktop box and runs it 24x7? Seems to make more sense to trust your local zone and run them that way - but only if you've not installed SP2 otherwise you'll always see the prompt
 

JingleBells

FH is my second home
Joined
Mar 25, 2004
Messages
2,224
Sar said:
As it says, I'm wanting to have my desktop as an html or php page running on my local server, and I want to have links to local apps (explorer/outlook/firefox etc).

I think he already has a webserver running locally.
 

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
Sar, ask Miles_Binck. He had active desktops before, I think he even might have had links on his desktop to run programs.
 

Xavier

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,542
Sar - by "local server" do you mean you're running a webserver on your desktop box or you have another server machine on your LAN at home. I've interpreted it to mean the latter atm...
 

Miles_Binck

Fledgling Freddie
Joined
Dec 27, 2003
Messages
113
Sar, do you mean anything along the lines of this?

*Some link may or may not work depending on your Internet Zone settings
 

Xavier

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,542
As I understand it with Service Pack 2 no executables can be run from anything in the internet zone without it prompting to start the executable, have you tried your desktop on an SP2 system Miles?
 

Miles_Binck

Fledgling Freddie
Joined
Dec 27, 2003
Messages
113
i should have said that your Internet Zone settings only apply when viewing it via the Internet.

I have enabled the 'secret' My Computer Zone (which iirc is specifically designed for scripts and programs run directly on your Local Machine). You can change all the settings to low or non-existant which will cause you no problems when executing the script(s). The only problem you may experience after that is your AV kicking up a stink about malicious scripts, but that is easily stopped by authorising the scripts.

EDIT: Thats a yes Xav :)
 

Sar

Part of the furniture
Joined
Dec 22, 2003
Messages
2,140
I have a web dev platform (Apache, Mysql & PHP) running on this pc - having it run all the time isn't a problem, because the PC is 100% secured.

Miles: Yes, precisely like that - an html/php file I can use as my desktop background and run programs from.
 

Sar

Part of the furniture
Joined
Dec 22, 2003
Messages
2,140
PS Miles: title="Go to X:" - LOL :D
 

Sar

Part of the furniture
Joined
Dec 22, 2003
Messages
2,140
Xavier said:
Are you using IE or Firefox? Also, have you got SP2 installed?
Firefox btw :)

And no SP2, as I heard it has probs with my ADSL modem (Speedtouch).
 

Miles_Binck

Fledgling Freddie
Joined
Dec 27, 2003
Messages
113
Sar i've zipped the Active Desktop + all icons etc and uploaded it here

if you want the vbs files that allow you to run the programs let me know and I'll upload them

If you are going to run the desktop you will need to enable the My Computer Zone via the registry, instructions
 

Sar

Part of the furniture
Joined
Dec 22, 2003
Messages
2,140
Thanks Miles. much appreciated.

If you could upload the vbs files as well that would be great - give me something to work off :)

Thanks! :)
 

Miles_Binck

Fledgling Freddie
Joined
Dec 27, 2003
Messages
113
Uploaded the vbs files here

Inside also is the original readme which may shed light on somethings.
 

Sar

Part of the furniture
Joined
Dec 22, 2003
Messages
2,140
Cheers Miles, got em both.

Thanks :)
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
a more accurate statement would be to say that the pc is as secure as you can make it. saying it's 100% secure is inviting Murphy to tell a rabid donkey to violently rodger you in the bum hole :(
 

Users who are viewing this thread

Top Bottom