source: other-projects/trunk/realistic-books/src/send.php@ 20889

Last change on this file since 20889 was 20889, checked in by anna, 12 years ago

Add new version of Realistic Books that include highlighting and searching

  • Property svn:executable set to *
File size: 277 bytes
2$msg = stripslashes(urldecode($_POST["msgText"]));
3$fname = stripslashes(urldecode($_POST["msgFile"]));
4$file = fopen($fname,"w");
5if (!$file) die ("cannot open the file");
6fwrite($file, $msg);
8echo "The book has been successfully been saved";
Note: See TracBrowser for help on using the repository browser.