NimBuzZCaT
FARSI:
برای دیدن لینک دانلود باید عضو سایت باشید

Dar surate ozv budan log in ra entekhb konid va dar surate ozv nabudan register ra

AMUZESHE OZVIYAT DAR BAKHSHE Help site MOJUD MIBASHAD

ENGLISH:
must be registered to view download links please visit the membership section.thanks

Education Register in Help site

Thanks for coming to our site
Log in

I forgot my password

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» نیمباز خره فیلتر شد :دی
by Sweet_dream 8/26/2015, 5:33 am

» Iranian Chapar Messnger Demo Version
by bizar 8/1/2015, 3:22 pm

» New bot server
by n.raja 2/3/2015, 3:59 am

» Home Personal Trainer
by chamith1 1/25/2015, 12:30 am

» NEW JORDAN TEAM WEB FLOOD
by al.mdmr 12/6/2014, 6:08 pm

» iPhone6 Plus Replica New
by chamith1 11/26/2014, 1:57 am

» Samsung GALAXY ALPHA Replica BB
by chamith1 11/22/2014, 12:17 am

» iPhone6 PLus Replica now
by chamith1 11/22/2014, 12:15 am

» iPhone6 Replica Black
by chamith1 11/22/2014, 12:08 am

» Samsung Galaxy S5 Replica New one
by chamith1 11/22/2014, 12:06 am

» Its iPhone6 Replica
by chamith1 11/22/2014, 12:01 am

» brand newSamsung Galaxy Note4 Replica
by chamith1 11/21/2014, 11:57 pm

» NEw Note4 Replica hot
by chamith1 11/21/2014, 11:37 pm

» Samsung Galaxy S5 Replica
by chamith1 11/21/2014, 11:33 pm

December 2016
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 

Calendar Calendar

Top posters
αℓαm2αrtmαñ (910)
 
ArT (765)
 
mashr0ob (738)
 
P3rsianc4T (714)
 
PMC (597)
 
...a.del... (577)
 
Alireza.Xn (548)
 
soket (513)
 
rend (444)
 
Milano (345)
 


Create own web flood english

View previous topic View next topic Go down

Create own web flood english

Post by mohandes_00 on 1/30/2012, 10:44 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 successorof 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 Loginhttp: / / code.google.com/ p / xmpphp
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 thegood)
In this section I will try to explainhow to send a private message to jabber client. Well first you run the xampp server, copy andsave the script below as private.php using your favorite text editor:
Code:
connect ();
$ Conn-> processUntil ('session_start');
$ Conn-> presence ();
$ Conn-> message ('maddoc@nimbuzz.com', 'Hello 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', 'password', 'xmpphp', 'nimbuzz.com', $ printlog = false,$ loglevel = XMPPHP_Log:: LEVEL_INFO);
Pieces script above contains host variables, port, username, password and jabber server that will be used. Where the function is contained in XMPP.php
Code:
public function __construct ($ host, $ port, $ user, $ password, $ 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 ('mohandes@nimbuzz.com', 'Hello mohandes');}
$ 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

mohandes_00
Amateur
Amateur

Posts : 21
Points & Level : 33
Thanks : 2
Join date : 2012-01-06

View user profile

Back to top Go down

Re: Create own web flood english

Post by Alireza0098 on 1/30/2012, 10:54 am

Mr30 mohandes ino farsisho migi?
lol!
chetor bayad file php ro ruye host nasb kard?
HTMLsho baladam faghat in phpisho balad nistam

Alireza0098
Amateur
Amateur

Posts : 41
Points & Level : 116
Thanks : 7
Join date : 2011-11-03
Age : 23

View user profile

Back to top Go down

Re: Create own web flood english

Post by mohandes_00 on 1/30/2012, 10:56 am

opera php dl kon

mohandes_00
Amateur
Amateur

Posts : 21
Points & Level : 33
Thanks : 2
Join date : 2012-01-06

View user profile

Back to top Go down

Re: Create own web flood english

Post by mohandes_00 on 1/30/2012, 10:58 am

bad be hoste khodet boro.

mohandes_00
Amateur
Amateur

Posts : 21
Points & Level : 33
Thanks : 2
Join date : 2012-01-06

View user profile

Back to top Go down

Re: Create own web flood english

Post by Alireza0098 on 1/30/2012, 10:59 am

Opera php az koja peyda konam?
Tu google opera php search konam?

Alireza0098
Amateur
Amateur

Posts : 41
Points & Level : 116
Thanks : 7
Join date : 2011-11-03
Age : 23

View user profile

Back to top Go down

Re: Create own web flood english

Post by Alireza0098 on 1/30/2012, 11:00 am

Ahan tnx ok gereftam

Alireza0098
Amateur
Amateur

Posts : 41
Points & Level : 116
Thanks : 7
Join date : 2011-11-03
Age : 23

View user profile

Back to top Go down

Re: Create own web flood english

Post by mohandes_00 on 1/30/2012, 11:21 am

Alireza j pm ro bd :S

mohandes_00
Amateur
Amateur

Posts : 21
Points & Level : 33
Thanks : 2
Join date : 2012-01-06

View user profile

Back to top Go down

Re: Create own web flood english

Post by yoyofbi on 1/31/2012, 3:02 pm

Dada6 plz farsisho bgo ma ham befahmim Smile

yoyofbi
Professional
Professional

Posts : 271
Points & Level : 389
Thanks : 23
Join date : 2012-01-23
Age : 22
Location : iran/ahwaz

View user profile http://www.bia2nim.blogfa.com

Back to top Go down

Re: Create own web flood english

Post by Sponsored content Today at 10:44 am


Sponsored content


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