http://www.linux-magazine.com/issue/59/FCKEditor.pdf
http://mentalized.net/activity-indicators/
The 'public' page has a php include call in it that pulls the 'saved-date' page like this: <?php include stripslashes('saved-data.php'); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link href="fck_editorarea.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="1" cellpadding="2" cellspacing="2" bordercolor="#999999">
<tr>
<td><?php include stripslashes('saved-data.php'); ?></td>
</tr>
</table>
</body>
</html>
----------------------------------------------------
editor.php
---------------------------------------------------
<?php
include("FCKeditor/fckeditor.php") ;
?>
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<form action="compiler.php" method="post" name="FCKeditor1" id="FCKeditor1">
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/FCKeditor/';
$oFCKeditor->Value = file_get_contents (stripslashes("saved-data.php"));
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '600' ;
$oFCKeditor->Create() ;
?>
<input type="submit" value="Submit">
</form>
</body>
</html>
<html>
<head>
<title>Please wait...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="refresh" content="5;URL=editor.php">
<link href="../sample.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:48px;
top:139px;
width:368px;
height:117px;
z-index:1;
visibility: hidden;
}
-->
</style>
</head>
<body>
<div id="Layer1">
<?php
if ( isset( $_POST ) )
$postArray = &$_POST ;// 4.1.0 or later, use $_POST
else
$postArray = &$HTTP_POST_VARS ;// prior to 4.1.0, use HTTP_POST_VARS
foreach ( $postArray as $sForm => $value )
{
$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
?>
<?=$sForm?><br>
<?=$postedValue?>
<?php
}
?>
</div>
<center>
<img src="web_images/indicator_big.gif" width="128" height="128">
<br>
Please wait...
</center>
</body>
</html>
-----------------------------------------------------------
saved-data.php
------------------------------------------------------------
//totally blank - your edits will be kept here
----------------------------------------------------------
compiler.php
-----------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<?php
$filename = stripslashes ("saved-data.php"); //or a variable
$fp = fopen ("$filename", "w");
fwrite($fp, trim(stripslashes ($_REQUEST['FCKeditor1'])). "\n". "\n");
fclose($fp);
?>

Re: How to Edit a Web Page - No DB Tutorial
Re: How to Edit a Web Page - No DB Tutorial
$oFCKeditor->Create() ;