oncall/index.php

13 lines
207 B
PHP

<?php
$file = 'contact.txt';
if(isset($_GET["contact"])) {
file_put_contents($file, $_GET['contact']);
}
$oncall = file_get_contents('./contact.txt');
echo("Current person on call is now $oncall");
?>