<form action="" method="post"> <input type="submit" name="submit"> </form> <?php if(isset($_POST['submit'])){ touch('./dıkladı.html'); echo "bastı"; } ?>