Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

webbsrvprg/projects/rpsproject/

bacon-egg-pizza.php
createaccount.php
drop-rps-tables.php
legacy-code-rps.php
newpassword-verify.php
newpassword.php
rpsaccount-ajax-user-search.php
rpsaccount.php
rpsbetting-ajax-match-finder.php
rpsbetting.php
rpsbettingleaderboard.php
rpschangepassword.php
rpschangepassword.txt
rpsgame-ajax.php
rpsgame.php
rpsgameresults.php
rpshostnewgame.php
rpshub.php
rpsleaderboard.php
rpslib.php
rpslogin.php
rpsmaininclude.php
rpsusersearch.php
table-init.php
verification.php

rpshostnewgame.php

11 lines ASCII Windows (CRLF)
<?php require('rpsmaininclude.php');
$_SESSION['isInGame']=false;
if(isset(
$_POST['rounds'])){
    
creatematch($dbconn,$_POST['rounds']);
}
?>
<form action="" method="POST">
    <h3>antal rundor:</h3>
    <input type="text" name="rounds">
    <button type="submit">skapa match</button>
</form>