Create writePost.php