oncall/index.php

13 lines
207 B
PHP
Raw Permalink Normal View History

2020-05-08 22:47:11 +00:00
<?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");
?>