From d1b14a1eeb5b1a78b1800a48b67a5316240c6f0d Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 19 Dec 2015 14:02:26 +0100 Subject: [PATCH] verif arena --- html/StupidIABattleship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/StupidIABattleship.php b/html/StupidIABattleship.php index c28ee9d..cee936d 100644 --- a/html/StupidIABattleship.php +++ b/html/StupidIABattleship.php @@ -208,7 +208,7 @@ switch($_POST['act']){ break; case "fight": //for debog arena - file_put_contents(__DIR__."log.txt",var_export($_POST)); + file_put_contents(__DIR__."log.txt",print_r($_POST,true)); // if((is_int(settype($_POST['width'],"integer"))) && (is_int(settype($_POST['height'],"integer")))){