Location: PHPKode > projects > Spam free PHP GuestBook > guestbook/gb/preview.php
<?php
include "include/functions.php";
include "include/bbcode.php";
$comment=trim(rawurldecode($_POST["comment"]));
$comment=fw_strip_slashes($comment);
$w=$_POST['imagewidth'];
$h=$_POST['imageheight'];
$autolink=(!empty($_POST["autolink"]));
$bb= new bbcode($w,$h,1,1);
echo $bb->format_text($comment,$autolink);
?>
Return current item: Spam free PHP GuestBook