简体   繁体   中英

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. This application needs to be able to open windows explorer to view files stored on the network (I:) drive.

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.

Help !

Internet Explorer 6 lets you do this via window.open('file:///K:/'); (sorry that's the best I can do from my Linux box.)

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. But you might need to physically set the security descriptor on the browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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