clockwerk-www
/sendiar.php |
@@ -42,7 +42,7 @@ |
foreach($rep->params->param->value->struct->member as $member) { |
if($member->name == "success" && $member->value->boolean == "0") { |
echo 'Sorry, wrong password.'; |
exit; |
goto last; |
} |
} |
$iar_path = '/var/lib/iar/'.$first.'_'.$last.'/'.$first.'_'.$last.'.iar'; |
@@ -56,12 +56,16 @@ |
header('Pragma: public'); |
header('Content-Length: '.filesize($iar_path)); |
readfile($iar_path); |
exit; |
goto last; |
} |
echo '<p>Sorry, your IAR file is not available yet.</p>'; |
goto last; |
} |
|
echo '<p>Sorry, incorrect CAPTCHA. Please try again.</p>'; |
|
last; |
|
?> |
|
<p> |