nimbuzzdad
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Top Eleven Football Manager Hack V5.2b.rar Configuration File Turbobit
how to create web flood by n!mbuzz_police005 EmptyThu Mar 13, 2014 3:21 am by fabrvand

» Lanner Witness 2008.rar
how to create web flood by n!mbuzz_police005 EmptyThu Feb 20, 2014 1:56 pm by belantoma

» Sophie_Hunger_1983_2010.rar
how to create web flood by n!mbuzz_police005 EmptyTue Feb 18, 2014 4:51 pm by belantoma

» Activation Key Eset Nod32
how to create web flood by n!mbuzz_police005 EmptySat Feb 15, 2014 10:22 am by belantoma

» India Govindpur Mms Scandal
how to create web flood by n!mbuzz_police005 EmptySat Feb 15, 2014 4:46 am by belantoma

» BoA - ARENA TOUR 2007 MADE IN TWENTY (BS-i 2008.02.02) HDTV
how to create web flood by n!mbuzz_police005 EmptyFri Feb 14, 2014 9:00 am by belantoma

» C_R_A_Z_Y Nimbuzz Account Password Hacker 2013 by C_R_A_Z_Y
how to create web flood by n!mbuzz_police005 EmptyThu Jan 24, 2013 2:21 pm by m__a__s__t__e__r

» Nimbuzz New Power Chat v1 by $ilent.lover
how to create web flood by n!mbuzz_police005 EmptyFri Jul 20, 2012 10:37 pm by imdreamboy

» m__a__s__t__e__r nimbuzz avatar Grabber My First Nimbuzz Project
how to create web flood by n!mbuzz_police005 EmptyTue Jul 10, 2012 10:12 am by m__a__s__t__e__r

March 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031

Calendar Calendar


how to create web flood by n!mbuzz_police005

Go down

how to create web flood by n!mbuzz_police005 Empty how to create web flood by n!mbuzz_police005

Post  n!mbuzz_police005 Fri Mar 09, 2012 11:43 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
n!mbuzz_police005
Admin

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

https://nimbuzzdad.forumotion.com

Back to top Go down

Back to top

- Similar topics

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