opensim-www
/sendiar.php |
@@ -17,13 +17,6 @@ |
if($resp->is_valid) { |
$req = new KOS_Authenticate('http://127.0.0.1:10000', 'opensim'); |
$ret = $req->authenticate($first, $last, MD5($password), '1'); |
$rep = new SimpleXMLElement($ret); |
foreach($rep->params->param->value->struct->member as $member) { |
if($member->name == "success" && $member->value->boolean == "0") { |
echo 'Sorry, wrong password.'; |
exit; |
} |
} |
$iar_path = '/var/lib/iar/'.$first.'_'.$last.'/'.$first.'_'.$last.'.iar'; |
if(file_exists($iar_path)) { |
if(false !== ($handler = fopen($iar_path, 'r'))) { |
@@ -45,4 +38,3 @@ |
} |
|
echo '<p>Sorry, incorrect captcha. Please try again.</p>'; |
|