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 '

‘;

?>

Subscribe / Share

It's very calm over here, why not leave a comment?

Leave a Reply




Categories

Powered by Yahoo! Answers