scan mp3 files in specific folder and update mysql file name, size, date

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    scan mp3 files in specific folder and update mysql file name, size, date

    i cannot upload 2mb< files to my vps from php so I'm uploading bigger capacity files from cpanel need a php script wich can able to scan and update my mysql db name, size, and path, could anyone give me an answer for this??

    #2
    PHP Code:
    <?php
    foreach (glob("/path_to_mp3_directory/*.mp3") as $filename) {
        echo 
    "$filename - Größe: " filesize($filename) . "\n";
    }
    ?>
    Advertise your mobile site for FREE with AdTwirl

    Comment

    Working...
    X