my php code to fetch all sound files, random way, in a folder is this:
$files = glob["audio/*.mp3"];
$random = $files[array_rand[$files]];
and to play them i use:
my php code to fetch all sound files, random way, in a folder is this:
$files = glob["audio/*.mp3"];
$random = $files[array_rand[$files]];
and to play them i use: