Here is an example of how to write a PHP client for XFire web services:
http://arsenalist.com/2007/01/19/php-client-for-web-services/