Connecting Tech Pros Worldwide Forums | Help | Site Map

Hyperlink from intranet web page to local files on my computer

Bill
Guest
 
Posts: n/a
#1: Jul 17 '05
I'm creating a company intranet, and every employee has certain
program we want them to be able to run from it, meaning we want the
link to the program to be on the intranet page. For example, Adobe
Photoshop resides on all the employees computer under "C:\Program
Files\Adobe\Photoshop 7.0\Photoshop.exe"

However, when I enter that as a hyperlink on the page, it does not run
the program.

Is there a way to get a web page to run a program on the local host?

Thanks,

Bill

Jochen Daum
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Hyperlink from intranet web page to local files on my computer


Hi!
[color=blue]
>I'm creating a company intranet, and every employee has certain
>program we want them to be able to run from it, meaning we want the
>link to the program to be on the intranet page. For example, Adobe
>Photoshop resides on all the employees computer under "C:\Program
>Files\Adobe\Photoshop 7.0\Photoshop.exe"
>
>However, when I enter that as a hyperlink on the page, it does not run
>the program.
>
>Is there a way to get a web page to run a program on the local host?
>[/color]
Luckily not. What about I put a link to YOUR "format c:\" on my
webpage?

Some signed Java Applet or ActiveX thing might do it.

HTH, Jochen
[color=blue]
>Thanks,
>
>Bill[/color]

--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Stefan Weiss
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Hyperlink from intranet web page to local files on my computer


Bill <billzimmerman@gospellight.com> wrote:
[color=blue]
> I'm creating a company intranet, and every employee has certain
> program we want them to be able to run from it, meaning we want the
> link to the program to be on the intranet page. For example, Adobe
> Photoshop resides on all the employees computer under "C:\Program
> Files\Adobe\Photoshop 7.0\Photoshop.exe"
>
> However, when I enter that as a hyperlink on the page, it does not run
> the program.[/color]

This is not a PHP issue, but a browser security feature. Depending on
the browser(s) you are using there are different ways to get around
this (if you _really_ want to; remember, you're disabling a security
feature). In MSIE you would have to configure the intranet environment
as "trusted", and in Mozilla there's a hidden configuration option in
the prefs.js or user.js files:
user_pref("security.checkloaduri", false);

HTH,
stefan
jn
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Hyperlink from intranet web page to local files on my computer


"Bill" <billzimmerman@gospellight.com> wrote in message
news:8da5f4f4.0401191249.44473444@posting.google.c om...[color=blue]
> I'm creating a company intranet, and every employee has certain
> program we want them to be able to run from it, meaning we want the
> link to the program to be on the intranet page. For example, Adobe
> Photoshop resides on all the employees computer under "C:\Program
> Files\Adobe\Photoshop 7.0\Photoshop.exe"
>
> However, when I enter that as a hyperlink on the page, it does not run
> the program.
>
> Is there a way to get a web page to run a program on the local host?
>
> Thanks,
>
> Bill
>[/color]

<a
href="file:///C:/Program%20Files/Adobe/Photoshop%207.0/Photoshop.exe">Photos
hop</a>

You will still get a security warning window.


Closed Thread


Similar PHP bytes