Reputation: 121
I am using scandir()
function to scan the directory from the cloud. This function working in the local system but not worked in the sever. I have run this function using php code in the server i het the following error
Warning: scandir(https:// xxxx/yyyy/folder/): failed to open dir: No such file or directory
Warning: scandir(): (errno 2): No such file or directory
Warning: Invalid argument supplied for foreach()
How to solve this error..
Upvotes: 1
Views: 772