
<?php
header('Access-Control-Allow-Origin: *'); 
$filename = 'Counter.txt'; // Replace with the path to your actual text file

// Read the file contents
$fileContents = file_get_contents($filename);

// Send the contents as the response
echo $fileContents;
?>