Location: PHPKode > scripts > Universal comment module > universal-comment-module/comment_api.php
<?php
	
	error_reporting(0);
	//error_reporting(E_ALL);
	
	require_once("Comment.class.php");
//	sleep(4);
	
//	$id  = "456RDFTHJBF";
	
	if(isset($_REQUEST['msg']) && isset($_REQUEST['id']) &&  isset($_REQUEST['uid']) )
	{
		$comment1  = new Comment($_REQUEST['id']);
		$comment1->addComment($_REQUEST['msg'],$_REQUEST['id'],$_REQUEST['uid']);
	}
	
?>
Return current item: Universal comment module