Last change
on this file since 20889 was 20889, checked in by anna, 14 years ago |
Add new version of Realistic Books that include highlighting and searching
|
-
Property svn:executable
set to
*
|
File size:
277 bytes
|
Line | |
---|
1 | <?php
|
---|
2 | $msg = stripslashes(urldecode($_POST["msgText"]));
|
---|
3 | $fname = stripslashes(urldecode($_POST["msgFile"]));
|
---|
4 | $file = fopen($fname,"w");
|
---|
5 | if (!$file) die ("cannot open the file");
|
---|
6 | fwrite($file, $msg);
|
---|
7 | fclose($file);
|
---|
8 | echo "The book has been successfully been saved";
|
---|
9 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.