English 中文(简体)
添加有PHP的开放式用户名册条目
原标题:Add entries to OpenFire user s roster with PHP
  • 时间:2012-01-12 16:53:40
  •  标签:
  • php
  • openfire

I m在开放基金客户工作,需要能够在用户名册上添加条目。 客户在PHP中发展。

我一直在研究开放式用户数据库图纸文件,并试图通过在<名册>上添加条目来执行。 这似乎足以满足我的需要。 我有两个问题:

  1. Do you know which tables I should look into to "emulate" what the admin console does for adding an entry to a user s Roster?
  2. Do you know of a better method for managing the Roster using PHP?
问题回答

页: 1 这一链接应解释该分点的含义、要求和分栏。 我发现,直接修改数据库似乎立即反映新的名册上的增加。 Good luck.

Edit 1: 仔细操纵名册表-备份名册,以备业绩,因此,除非你强迫公开火力清除其切身之处,否则将无法立即反映表格的最新情况。 我目前知道如何做到这一点的唯一途径是(如果你打算让公开火力大大扩大规模的话,这确实是坏的)消除名册上的切身。

可以通过在公开火力中设定两个特性(Server Manager > System Property)来做到这一点:

cache.username2roster.maxLifetime = 0 cache.username2roster.size = 0





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签