diff --git a/start.php b/start.php index 9425a2d..e11f768 100644 --- a/start.php +++ b/start.php @@ -7,8 +7,9 @@ */ $uid = $_GET['uid']; - $length = ($_GET['length'] && gettype($_GET['length']+0) == 'integer') ? $_GET['length'] : 10; + $length = ($_GET['length'] && gettype($_GET['length']+1) == 'integer') ? $_GET['length'] : 10; echo gettype($length); + echo $length; ?>