/* update.php */
<?php
if (isset($_GET['number'])) {
    file_put_contents('call_data.txt', $_GET['number']);
    sleep(5); // Auto clear after 5 seconds
    file_put_contents('call_data.txt', '');
    echo "Success";
}
?>