<?php
$fileList = glob("*.mp3");
$ind = $_POST["Index"];
echo "&songCount=" . count($fileList) . "&";
echo "&songFile=" . $fileList[$ind] . "&";
?>