Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Execute specific links

0 views
Skip to first unread message

ME

unread,
May 20, 2003, 9:43:24 AM5/20/03
to
I have corporate website hosting a postnuked php site. I would like to be
able to place links in the menu to locally installed applications that the
end user could just click on to do their work. Is there a way to write a
php mod or does one exist that would allow certain links to open
applications (that are locally installed on the client machines) with out
having that annoying "this link is an application" prompt come up in IE?

Thanks,

Matt


andreas halter

unread,
May 20, 2003, 10:02:40 AM5/20/03
to
ME was scribbeling:

> Is there a way to write a
> php mod or does one exist that would allow certain links to open
> applications (that are locally installed on the client machines) with
> out having that annoying "this link is an application" prompt come up
> in IE?

would you really want that every website could open applications on your
machine by a simple click? i don't think so.

hth andreas
(use file:// prot)
--
collect xul annotations: http://xul.andreashalter.ch/

ME

unread,
May 20, 2003, 6:49:25 PM5/20/03
to
Here is how I did it:


Made some quick changes to my asp page, then downloaded Postwrap
(http://spidean.mckenzies.net/modules.php?op=modload&name=PostWrap&file=inde
x&page=http://spidean.mckenzies.net/modules/PostWrap/docs/&height=3500 )

Sent the link to the page via postwrap and all is happy.

Thanks for your comments. Below is the asp page to do the work.

Thanks,

Matt

Menublock link=
modules.php?op=modload&name=PostWrap&file=index&page=openlink.asp?link=notep
ad%2Eexe

<%
Response.expires = 1
Response.expiresabsolute = Now() - 1
Response.addHeader "pragma", "no-cache"
Response.addHeader "cache-control", "private"
Response.CacheControl = "no-cache"
response.clear
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>

<OBJECT CLASSID="clsid:ABCDEFG" ID="axOpenFile"
CODEBASE="controls\axOpenFile.CAB#version=1,0,0,1">
<PARAM NAME="DebugIt" VALUE="False">

</OBJECT>

</head>
<body>

<%
response.buffer=true

'get link
link = request.querystring("link")

if link="" or isnull(link) then
'link is blank
else
'response.clear
'Server.Transfer "axopenfile.asp?link=" & server.urlencode(link)
%>

<SCRIPT LANGUAGE="VBScript">
call axOpenFile.OpenFile( "<%=link%>")
</SCRIPT>
<%
end if
%>
</body>
</html>

"andreas halter" <ne...@andreashalter.ch> wrote in message
news:badci1$1k51$1...@innferno.news.tiscali.de...

0 new messages