For jQuery Mobile HTML5 Application Rendering

Posted at





mb_internal_encoding('UTF-8');
//setlocale(LC_CTYPE, 'en_US.UTF-8');
setlocale(LC_ALL, 'he_IL.UTF-8');
/*
setlocale(LC_TIME, 'he_IL');
setlocale(LC_CTYPE, 'he_IL');
setlocale(LC_ALL, 'he_IL');
*/
// header('Content-Type: text/plain; charset=UTF-8');
//header('Content-Type: text/plain; charset=windows-1255');

$iterator = new FilesystemIterator("./music/.");
$filter = new RegexIterator($iterator, '/.(mp3|mp4)$/');
$files = array();
foreach($filter as $entry) {
$files[] = $entry->getFilename();
}


$numOfFiles = count($files);

//function human_filesize($bytes, $decimals = 2) { $size = array('B','kB','MB','GB','TB','PB','EB','ZB','YB'); $factor = floor((strlen($bytes) - 1) / 3); return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$size[$factor]; }
//include_once('mp3file.php');
?>

























music.eladkarako.com











Panel Header


You can close the panel by clicking outside the panel, pressing the Esc key, by swiping, or by clicking the button below:


Close panel



Panel Header


You can close the panel by clicking outside the panel, pressing the Esc key, by swiping, or by clicking the button below:


Close panel



Page Header







Click on both buttons and start to scroll the page.


Open Default Panel
Open Panel with data-position-fixed="true"

Tip: Quickly search for a song by any letters appearing in the title. give it a try.














Page Footer








', '(*private notes*) PHP Non-English (Hebrew) File-Names File-System Processing