created write.php