Quote:right now the output is ./video/Clover Hill Official Music Video Leaves A Scar.mp4 I need it o be Clover Hill Official Music Video Leaves A Scar with the addition of 4 extra blank lines at the top
$folder = '../video'; $data = implode(PHP_EOL, glob($folder . "/*.mp4")); $my_file = 'schedule.txt'; $handle = fopen($my_file, 'w') or die("Cannot open file: ". $my_file); fwrite($handle, $data); fclose($handle);
$handle = fopen($my_file, 'w') or die("Cannot open file: ". $my_file);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)