$filePath = 'ms.txt'; // If file exists, read current count from it, otherwise, initialize it to 0 $count = file_exists($filePath) ? file_get_contents($filePath) : 0; // Increment the count and overwrite the file, writing the new value file_put_contents($filePath, ++$count); $file = "ms.txt"; //Path to your *.txt file $contents = file($file); $string = implode($contents); ?>
The Man who Beat MS |
Listen or Download |
$filePath = 'ms.txt'; // If file exists, read current count from it, otherwise, initialize it to 0 $count = file_exists($filePath) ? file_get_contents($filePath) : 0; // Increment the count and overwrite the file, writing the new value file_put_contents($filePath, ++$count); $file = "ms.txt"; //Path to your *.txt file $contents = file($file); $string = implode($contents); echo "This programme has been downloaded ".$string. " times "; ?>
Over 3 million people worldwide have Multiple Sclerosis and the odds are you might know someone yourself.
|
Comment on this programme All Broadcasts |