php access network path under windows

前端 未结 4 1216
礼貌的吻别
礼貌的吻别 2020-11-29 08:35

within PHP (XAMPP) installed on a Windows XP Computer Im trying to read a dir which exists on a local network server. Im using is_dir() to check whether it is a

4条回答
  •  既然无缘
    2020-11-29 09:11

    Try the file: URI scheme:

    file://server/dir
    file:///Z:/dir
    

    The begin is always file://. The next path segment is the server. If it’s on your local machine, leave it blank (see second example). See also File URIs in Windows.

提交回复
热议问题