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 '

‘;

?>

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>