If you dont mind I completely new to this as my expertise lies more in AS. Im guessing I should start off using a function, so that I can call it from my AS like:
preloadDir ();
function preloadDir (){
foreach (glob("*") as $filename) {
echo "$filename size " . filesize($filename) . "\n";
}
}
Is that right so far? I know its far from being close. IM not sure where to take it from here.