Add some code
This commit is contained in:
12
cgi-bin/uebung08/hangman-guess.php
Normal file
12
cgi-bin/uebung08/hangman-guess.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
require_once(__DIR__ . "/hangman_lib.php");
|
||||
|
||||
session_name(get_current_user() . "hangman");
|
||||
session_start();
|
||||
|
||||
$letter = $_POST['letter'];
|
||||
guessLetter($letter);
|
||||
|
||||
header("Location: hangman.php");
|
||||
?>
|
Reference in New Issue
Block a user