Difference between revisions of "PHP Native API"

From ScarletDME
Jump to navigation Jump to search
(Updated supported commands)
(added bug)
Line 2: Line 2:
  
 
This single library file can be dropped in on any PHP compatible web server and allow developer to use a series of function calls to access a QM Database with all the functionality that the QMClient API allows.
 
This single library file can be dropped in on any PHP compatible web server and allow developer to use a series of function calls to access a QM Database with all the functionality that the QMClient API allows.
 +
 +
'''Warning''' Active bug found, i believe username padding is not working, some odd length usernames may cause a QMERROR 3000 for line 902, when trying to write to $LOGINS. I'm working on it. [[User:Diccon|Diccon]] 19:36, 27 January 2009 (UTC)
  
 
It is currently in the Alpha stages:
 
It is currently in the Alpha stages:

Revision as of 19:36, 27 January 2009

The PHP native API uses a socket connection to directly connect to an open and functioning QM API socket.

This single library file can be dropped in on any PHP compatible web server and allow developer to use a series of function calls to access a QM Database with all the functionality that the QMClient API allows.

Warning Active bug found, i believe username padding is not working, some odd length usernames may cause a QMERROR 3000 for line 902, when trying to write to $LOGINS. I'm working on it. Diccon 19:36, 27 January 2009 (UTC)

It is currently in the Alpha stages: It supports:

  • Logon
  • Set account
  • Open
  • Read
  • Write
  • Delete

If you want a copy, it is released under the LGPL (i.e. can be used within commercial products, but is GPL itself). It is available on the gpl.openqm Subversion repository;

http://gpl.openqm.com/svn/qmvdb/PHPQMLib/trunk/