简体   繁体   English

从基于Web的(PHP)应用程序中打开Windows资源管理器

[英]Open windows explorer from a web-based (PHP) application

I am developing a Web Application for the company I work for using PHP/MySql/Javascript. 我正在为使用PHP / MySql / Javascript的公司开发Web应用程序。 This application needs to be able to open windows explorer to view files stored on the network (I:) drive. 此应用程序需要能够打开Windows资源管理器以查看存储在网络(I :)驱动器上的文件。

Everything I have found suggests that this is not possible from a browser application - it MUST be possible. 我发现的所有内容都表明,这不可能通过浏览器应用程序实现-必须做到这一点。 I've played around with exec(), , header(Location: I:)...which all seemed like they would be simple solutions --- negatory ghostrider. 我玩过exec(),header(Location:I:)...这一切似乎都是简单的解决方案---负面的幽灵骑士。

Help ! 救命 !

Internet Explorer 6 lets you do this via window.open('file:///K:/'); Internet Explorer 6允许您通过window.open('file:///K:/'); (sorry that's the best I can do from my Linux box.) (对不起,这是我在Linux机器上能做的最好的事情。)

Because of a security feature. 由于具有安全功能。 It will not work on all browsers. 并非在所有浏览器上都适用。 If you are desperate enough, you could knock together a java apple or flash to do it. 如果您足够绝望,则可以将一个Java苹果或Flash组合在一起。 But you might need to physically set the security descriptor on the browser. 但是您可能需要在浏览器上物理设置安全描述符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM