How to read all files of a folder from different website with php?

From the PHP glob docs:

This function will not work on remote files as the file to be examined
must be accessible via the server’s filesystem.

If the remote site provides a directory listing, you can view a list of files from there. Otherwise, you cannot.

Browse More Popular Posts

Leave a Comment