add write.php