Location: PHPKode > scripts > AJAX Star Rating > ajax-star-rating/rpc.php
<?php
include('RatingManager.inc.php'); 
$ratingManager = RatingManager::getInstance();
 // $_REQUEST['j'] vote values 
 // $_REQUEST['q'] product id voted
 // $_REQUEST['t'] IP address of the personal
$ratingManager->updateVote($_REQUEST['j'], $_REQUEST['q'], $_REQUEST['t']);
?>
Return current item: AJAX Star Rating