Today i have a problem with my script, my script should search for (.css files)
I\'ve used a code to:
I found the same issue with a PHP script today and it took switching from a foreach loop to a for loop to fix it. Not sure what means, the array looks and works the same.
// Errors out
$files = glob($directory.'*.html');
foreach($files as $file){
echo($file);
}
// No error
$files = glob($directory.'*.html');
for($i=0; $i