
		         JABBER PHP MODULE
			      WPPHP
		    ------------------------------
			  Lukasz Karwacki
 			  Wojciech Meller
	 
	 
1. What wpphp can do ?

 - wpphp execute php scripts on incoming packets.
 - short info about processed packet is passed to PHP in $_SERVER array.
   Check examples/process.php
 - can be configured to execute PHP script every X sec.
 
2. How can I use wpphp
 * you can configure it to handle admin.your_domain messages and work
   as callcenter or save messages to database,
 * wpphp can work as logger or xdb component,
 * wpphp can work handle search or vcard.
 
 
  Example scripts will be available soon.
 
3. Configuration

Due to PHP stability it is safer to use WPPHP as separated process.
In main jabber.xml add service:

(change localhost to your jabber host name)

 <service id="extra.localhost">
  <accept>
   <ip>localhost</ip>
   <port>5700</port>
   <secret>secret</secret>
   <timeout>30</timeout>
  </accept>
 </service>


Edit jabber-php.xml file and change it as you wish.



