script to automatically open file in windows?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yviejo
Forum Newbie
Posts: 1
Joined: Tue Jun 24, 2003 2:49 pm

script to automatically open file in windows?

Post by yviejo »

I'm a newbie here, so please excuse me if I'm missing something obvious...

I'm trying to figure out how to write a script to automatically open a file on a Win2k machine.

The situation is that we want to link to a FileMaker Pro database from our intranet site. In order for it to be shared via WebCompanion, FMP's instant web publishing plug-in, the database itself has to be open. We want the link to the db to go to a php page which will contain a script to open the database, then redirect to the built-in WebCompanion home page. We're trying to just leave the file open all the time, but since the server is also a workstation in the office, people who don't know any better are always shutting things down and closing windows, so we can't insure that the file stays open.

Thanks!
lostboy
Forum Contributor
Posts: 329
Joined: Mon Dec 30, 2002 8:12 pm
Location: toronto,canada

Post by lostboy »

think this would require a third party type component (like an embedded activeX or applet) to be embedded in the web page... it is the only way to make this work...for safety reasons..

hth
Post Reply