PHP Classes

File: rpc.php

Recommend this page to a friend!
  Classes of Sudhir Chauhan   AJAX Star Rating   rpc.php   Download  
File: rpc.php
Role: Auxiliary script
Content type: text/plain
Description: RPC file called by ajax code
Class: AJAX Star Rating
Rate content and update star ratings using AJAX
Author: By
Last change: report file that save ratings
Date: 14 years ago
Size: 287 bytes


Class file image Download
header("Cache-Control: no-cache");
header("Pragma: nocache");

// TODO : need to save comments
$ratingManager = RatingManager::getInstance();
$ratingManager->updateVote($_GET['num'], $_GET['id']);