Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2005-01-05 02:36
Size: 354 bytes
 

Contents

Class file image Download
<?
include('bncquery.class');

$bncquery = new bncquery//Create new BNC-Class
$bncquery->connect("127.0.0.1","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

?>