Salve,
qualcuno sā dirmi perchč CKEditor non mi salva le modifiche???


Vedere:
www.botanikpedia.com/admin24.php
(ingrandire la textarea )
il codice č questo:

<?php
// Include the CKEditor class.
include_once "ckeditor/ckeditor.php";

// Create a class instance.
$CKEditor = new CKEditor();

// Path to the CKEditor directory.
$CKEditor->basePath = '/ckeditor/';

// Replace a textarea element with an id (or name) of "textarea_id".
$CKEditor->replace("content");
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Senza nome 1</title>

<link href="styles/layout.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src= "ckeditor/ckeditor.js"></script>


</head>

<body>


<?php
if(isset($_POST['editor1'])){
$testo=stripslashes($_POST["editor1"]);
file_put_contents("index.htm",$testo);

}

$file=file_get_contents("index.htm");
?>
<form method="post" action="index.htm">



Database:

<textarea name="editor1">
<?php

echo $file;
?>

</textarea>
<script type="text/javascript">
window.onload = function()
{
CKEDITOR.replace( 'editor1' );
};
</script>
</p>



<input type="submit" />
</p>
</form>





</body>

</html>