Hi guys,
i currently have a page in my phpbb that has the CKEditor on it. Below is the editor.php
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
if ($user->data['user_id'] == ANONYMOUS)
{
login_box('', $user->lang['LOGIN']);
}
page_header('Editor');
$template->set_filenames(array(
'body' => 'editor.html',
));
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
And here is the HTML page editor.html
<!-- INCLUDE overall_header.html -->
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<textarea name="text1"></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'text1' );
</script>
<!-- INCLUDE jumpbox.html -->
<!-- INCLUDE overall_footer.html -->
I would like to submit the info from the textarea to a file called announce.txt. Could anyone help me out with this?