Update index.html
This commit is contained in:
parent
2d6a7a179d
commit
8471b6e375
@ -1,3 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
if(isset($_POST['score'])){
|
||||||
|
$score = $_POST['score'];
|
||||||
|
file_put_contents("scores.txt", "Score: $score\n", FILE_APPEND);
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user