modified input.php and test.php