Accessing a shared directory through PHP, is it possible?

1

I have a remote server that has a shared folder ex:

\ remote_mobile

Within this directory there are several files that I would like to check the size with PHP.

Doubt: With PHP I can access a shared folder for this purpose?

Note: The target server is a Windows Server and does not run PHP.

    
asked by anonymous 04.01.2017 / 00:45

1 answer

4

YES

It is possible and is in the manual:

  

link

In particular, the title

See Also: Supported Protocols and Wrappers

you link to:

  

link

And what you're looking for is here:

  • /path/to/file.ext

  • relative/path/to/file.ext

  • fileInCwd.ext

  • C:/path/to/winfile.ext

  • C:\path\to\winfile.ext

  • \smbserver\share\path\to\winfile.ext

  • file:///path/to/file.ext

04.01.2017 / 01:00