You can open Windows Explorer using PHP?
No! PHP is a language that runs on server-side; in a general context Voce will not be able to interact with native resources in the client-side, ie in the user’s browser;
You can open Windows Explorer using Javascript?
Using Internet Explorer (probably this is not possible with other browsers), you can use some Activex features, but I only tested it with HTML saved on the machine itself; using something like:
<script type="text/javascript">
window.open("nomeDoArquivo.html", "NomeDaNovaJanela");
</script>
I don’t know the context to which you need to use this solution, but from a security point of view this is not advisable at all; apart from the fact that most browsers do not allow actions like this, you will face various restrictions with anti-softwareviruses that consider actions as such a threat;
I recommend thinking of another approach to solve your problem; Manipulating client directories doesn’t seem to me to be an approach to web-based solutions, for the simple fact that you can’t guarantee that a particular directory exists in the client;
I believe this depends much more on browser security permissions than on language.
– user28595
My tests were done in both firefox and Chrome, which are the most used here by my users.
– Leo Bueno
In general the explore allows this
– Rafael Augusto