PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Christian M  >  Bouncer Query  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script how to use
Class: Bouncer Query
Connect and send data to a server via a bouncer
Author: By
Last change: Forget to close php ;)
Date: 13 years ago
Size: 354 bytes


Class file image Download

$bncquery = new bncquery; //Create new BNC-Class
$bncquery->connect("","1337","admin","534231"); //Here are the BNC-requirements (ip,port,user,pass);
$bncquery->send("PRIVMSG -psybnc :adduser test1 : test1"); //Here are the command to send
$bncquery->close; //Close the Connection To The BNC-Server