Location: PHPKode > scripts > WH Social > wh_social/post.php
<?php

    require_once('framework/session.php');

    define('INCLUDE_CHECK',1);
    define('MYSQL_CHECK',1);
    define('SECURE_CHECK',1);

    include('framework/error.php');

    require('framework/config.php');
    require('framework/mysql.php');

    require_once('framework/ready.php');

    $protocol = fopen("protocol.php", 'a');

    fwrite($protocol, '<div class="msgln"><u>' . htmlentities($_SESSION['name']) . '</u>: ' . stripslashes(htmlspecialchars($_POST['text'])) . '<br></div>');
    fclose($protocol);

?>
Return current item: WH Social