Wednesday, November 19, 2008

User Authentication


/*
user.authenticate
Determine if the user blackbeard with a password of avast888 is valid.
*/

include('xmlrpc-2_1/lib/xmlrpc.inc');
include('class.RevverAPI.php');

$api = new RevverAPI('https://api.staging.revver.com/xml/1.0?login=revtester&passwd=testacct');

$username = 'blackbeard';
$password = 'avast888';

$results = $api->callRemote('user.authenticate', $username, $password);

echo '
';
var_dump($results);
echo '
';

?>

No comments:

Your Title