$message = ""; if ( isset($_POST['notes']) ) { $message = "
Updated
"; $kiedate = date("Y_m_d__H_i_s"); copy($upd_file, "include/song_choices/backup/".$person."_".$kiedate.".php"); $fp = fopen('include/song_choices/backup/_backup_list.php', "a+"); fwrite($fp, ''.$person.'_'.$kiedate.'.php'); fwrite($fp, "
\r"); fclose($fp); $file = fopen($upd_file,'w+'); if ( !fwrite ($file, stripslashes($_POST['notes'])) ) { ?>Failed