Hello....HELP, i have a script for saving textarea, but give me error and php is hardy for me:
Notice: Undefined index: page in C:\wamp\www*
Warning: file_get_contents(): Filename cannot be empty in C:\wamp\www.....THE FORM HTML ... FOR CALL THE FILE
<form action="" method="POST">
pagina: <input type="text" name="page" value="" /> <p><input type="submit"></p> </form>
PHP ...Open the file
<?php
if(isset($_POST['myBlog'],$_POST['save']))
{
file_put_contents($_POST['page'],stripslashes($_POST['myBlog']));
}
$file=file_get_contents($_POST['page']);
?>
TEXTAREA
<form method='post' action=''> <textarea cols="100" id="myBlog" name="editor1" rows="10" > <?php
echo $file;
?> <?php
<input type="submit" name="save" value="Save" /> </form>