Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
April 2014
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
282930    

Calendar Calendar


how to create web flood by n!mbuzz_police005

View previous topic View next topic Go down

how to create web flood by n!mbuzz_police005

Post  n!mbuzz_police005 on Fri Mar 09, 2012 10:13 am

XMPPHP is one of the PHP library to create web-based jabber client. On the site itself says that unlicensed developers XMPPHP XMPPHP is the successor of Class.Jabber.php.
Here I will explain the use XMPPHP little to perform the basic functions jabber, ie, send private messages and send a message to groupchat.
Please know that the main process in the XMPPHP in the handle by a XMLStream.php file. Where in it there are functions to process XML Streaming XMLStream.php addition there are also other supporting a file that is XMPP.php. In this file there are xml handler that will be sent via the XML Socket Stream.
Before we start creating the script, there are some applications and settings that we need to do
1. XMPPHP main files, can be downloaded in You are not allowed to view links.
Register or Login [You must be registered and logged in to see this link.]

2. PHP server to run a php script, here I am using XAMPP.
3. Extract the files into forlder XMPPHP on xampp htdocs or www folder on some other server php applications.
4. Make sure you activate the extension php_openssl.dll on XAMPP, because we're going to make a connection using SSL on port 5222. You may view your php configuration on phpinfo, and to enable it to open the php.ini file in the folder xampp / apache / bin / php.ini. Remove the ";" in front of the string extension = php_openssl.dll.
5. Connection to the internet.
6. Finally, this process can only be done by PC users


Send a private message (use the good)

In this section I will try to explain how to send a private message to jabber client. Well first you run the xampp server, copy and save the script below as private.php using your favorite text editor:

Code:

connect ();
$ Conn-> processUntil ('session_start');
$ Conn-> presence ();
$ Conn-> message ('n!mbuzz_police005@nimbuzz.com', 'web flood master prince_aamir');
$ Conn-> disconnect ();
} Catch (XMPPHP_Exception $ e)
die ($ e-> getMessage ());
}
?>


Explanation of the script above is as follows:

Code:

include 'xmpphp / Log.php';
include 'XMPPHP / XMPP.php';

the script above, we will do inclusi Log.php files and XMPP.php, where there fungsi2 jabber command.

Code:

$ Conn = new XMPPHP_XMPP ('openfire.nimbuzz.com', 5222, 'username', 'p_ass_word', 'xmpphp', 'nimbuzz.com', $ printlog = false, $ loglevel = XMPPHP_Log:: LEVEL_INFO);

Pieces script above contains host variables, port, username, p_ass_word and jabber server that will be used. Where the function is contained in XMPP.php

Code:

public function __construct ($ host, $ port, $ user, $ p_ass_word, $ resource, $ server = null, $ printlog = false, $ loglevel = null) {parent:: __construct ($ host, $ port, $ printlog, $ loglevel);

The above piece of script found on XMPP.php

Code:

$ Conn-> connect ();

The function of the script snippet above is to connect to jabber server.

Code:

$ Conn-> processUntil ('session_start');
$ Conn-> presence ();

This script contains the process will start after the session has started, and send presence to the jabber server.

Code:

conn-> message ('n!mbuzz_police005@nimbuzz.com', 'the king of nim mydesto30 randi Very Happy Very Happy Very Happy here testing Yoo!!!');}
$ Conn-> disconnect ();

Potonga script above contains the sender's command, which consists of a user variable mosque and a message. This function is located in XMPP.php
__________________


HOPE TUTORIALS HELPS YOU IF YOU WANT HOST PHP FROM PC TRY VERTIGO Smile

FOR MORE INFO ADD ME :- N!MBUZZ_POLICE005@NIMUZZ.COM

n!mbuzz_police005
Admin

Posts: 120
Join date: 2012-01-14
Age: 21
Location: ranchi

View user profile http://nimbuzzdad.forumotions.in

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum