Re: Overlap Point
in addition to another post the snippet i wrote <?php // the script below reads Currentsong.txt and puts it's value into variable $nu; $titel="CurrentSong.txt"; // this will set the title.txt. $Nu=fopen($titel,"r"); //opens the file echo "Nu bij ons: "; while (!feof($Nu)) { $nu=fgets($Nu, 4096); //puts the file into an array $split = explode("~", $nu); // removes the crosstime from the title $nu = $split[0]; // clean title $rest = $split[1]; // crossfadetime
// optional $nu=strtolower($nu); // converts to lowercast $nu=UCwords($nu); // Starts with an uppercast // final result echo $nu;
}
?>
|