PHP Classes

File: example/mq.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  UsagiMQ  >  example/mq.php  >  Download  
File: example/mq.php
Role: Example script
Content type: text/plain
Description: Example script
Class: UsagiMQ
Manage message queues stored using Redis
Author: By
Last change:
Date: 2 years ago
Size: 426 bytes


Class file image Download
include "../UsagiMQ.php";

$usa=new UsagiMQ("",6379,1);
if (
$usa->connected) {
    if (
$info=='NO INFO') {
$refresh=$usa->webUI(); // if not information is send, then it opens the UI. It is optional
if ($refresh) {
//todo: call the subscriber(s)
    } else {
$info; // show the result.
} else {
"not connected";

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