"; if (isset($_POST['text'])) { $fp = fopen('f', "w"); fwrite($fp, $_POST['text']); fclose($fp); echo "posted now: -> " . $_POST['text']; }