Location: PHPKode > scripts > AJAX Star Rating > rpc.php
<?php
ob_start();
header("Cache-Control: no-cache");
header("Pragma: nocache");	

// TODO : need to save comments
//print_r($_POST);
include('RatingManager.inc.php'); 
$ratingManager = RatingManager::getInstance();
echo $ratingManager->updateVote($_GET['num'], $_GET['id']);
?>
Return current item: AJAX Star Rating