PHP Classes

File: SERVER/NotificationSender.php

Recommend this page to a friend!
  Classes of Ettore Moretti   Xaja Notifier   SERVER/NotificationSender.php   Download  
File: SERVER/NotificationSender.php
Role: Example script
Content type: text/plain
Description: Class source
Class: Xaja Notifier
Notify user browsing a site in real time with AJAX
Author: By
Last change: Update NotificationSender.php
Date: 8 years ago
Size: 540 bytes


Class file image Download
 * Here intercept the ajax call for the administration panel
 * PHP version 5
 * @author Ettore Moretti <>
 * @version 1.0.0


// Retrieving the last timestamp
$notification=isset( $_GET['notification'])? $_GET['notification']: 0 ;

// Retrieving the uid
$uid=isset( $_GET['id'])? $_GET['id']: 0 ;

//XajaServerClass instance and send notification
$XS= new XajaAdminServer();