2024-02-11 18:27:54 +00:00
|
|
|
<?php
|
2024-02-16 11:14:45 +00:00
|
|
|
$control = $_POST['control'];
|
2024-02-11 18:27:54 +00:00
|
|
|
$runner_id = $_POST['id'];
|
2024-02-12 20:23:13 +00:00
|
|
|
$time = $_POST['time'];
|
2024-02-11 18:27:54 +00:00
|
|
|
$file = 'passering.csv';
|
|
|
|
$current = file_get_contents($file);
|
2024-02-16 11:14:45 +00:00
|
|
|
$current .= $control . ", " . $runner_id . ", " . $time . "\n";
|
2024-02-11 18:27:54 +00:00
|
|
|
file_put_contents($file, $current);
|