PHP Classes

File: rpc.php

Recommend this page to a friend!
  Classes of Sudhir Chauhan  >  Star rating  >  rpc.php  >  Download  
File: rpc.php
Role: Example script
Content type: text/plain
Description: the file used by ajax to send request to rating manage
Class: Star rating
Update votes and display rated content with stars
Author: By
Last change:
Date: 14 years ago
Size: 287 bytes


Class file image Download
$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']);

For more information send a message to info at phpclasses dot org.