Location: PHPKode > projects > Modular Site Manager > htdocs/lk/news-post.php
<?php
chdir("../");
include "inc/functions.inc.php";
$mysql = new mysql(DB_MAIN);
$mysql->insert(PRE."news", array('subject', 'submission', 'name', 'date'), array(stripslashes($_POST['subject']), parse(addslashes($_POST['message'])), $_COOKIE['user'], time()));
header("Location: ".SITE_URL);
?>
Return current item: Modular Site Manager