<?php // clear_number.php header("Access-Control-Allow-Origin: *"); // Allow CORS file_put_contents('selected_number.txt', ''); // Clear the file ?>