Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 php 新手,我想知道如何使用 php 打开目录。我尝试了以下代码,但没有任何反应
exec('nautilus /home/'); exec('sudo nautilus /home/'); $command='nautilus /home/'; system($command);
我正在使用 Centos 6.4
尝试使用 opendir() php 函数。
尝试 pcmanfm /home 它将在 Linux 中打开一个目录。或 Windows 中的资源管理器