logo       
Google Custom Search
    AddThis Social Bookmark Button

Web Service Interface to PHPList: msg#00006

Subject: Web Service Interface to PHPList
(I'll reply to your reply tomorrow, Michiel).

I have an external license management system that issues license keys, and I've written a PHP SOAP interface (that uses PEAR's SOAP module, rather than PHP 5's) to PHPList. This allows my external system to talk to PHPList to add users (when they purchase a license), plus auto-update their email address when they tell me about an email address change and auto-subscribe people to a list when they buy a specific product. I also use this to maintain beta user lists, and the beta system allows certain rights if someone is subscribed to the beta list (private list).

I currently have this in a separate directory so it can be .htaccess controlled and require SSL, but it wouldn't be hard to move this to a subdirectory of the PHPList tree to allow more general use. I think it would probably require some customization by anyone to use, but if anyone's interested in this, I could contribute it and help someone else make it work more generally.

Anyone interested?  It currently supports the following interface:

+ <operation name="findByEmail">
+ <operation name="findByID">
+ <operation name="findByForeignKey">
+ <operation name="createUser">
+ <operation name="changeEmail">
+ <operation name="getAllLists">
+ <operation name="getSubscribedLists">
+ <operation name="getEditHistory">
+ <operation name="getMailingHistory">
+ <operation name="subscribeToList">

(This is copied from the wsdl output - the methods and other interface details didn't seem appropriate here)

It's certainly not full-featured, but allows external systems to do basic maintenance without having to directly access the table structure. I've interfaced to this from both PHP and perl - it's pretty cool to see it work, but certainly not a "beginner" material.

Anyone interested in participating in flushing this out?

- Pete



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>