I used the code given below to take the count of files in a folder which is in another machine. On my localhost the glob() is working fine, BUT on the server it displays the array size as 0.
$dir_path ="http://192.168.0.202/img/$sub_code/$sub_code".N."$churunano/*.jpg*";
$count = count(glob($dir_path));
How to find the count of the files?