<?php
require_once('RainCaptcha.class.php');
$captcha = new RainCaptcha();
?>
<html>
<body>
<form action="example_handler.php" method="post">
<table>
<tr>
<th>Captcha</th>
<td>
<img src="<?php echo $captcha->getImage(); ?>" />
<br />
<input name="captcha" type="text" maxlength="5" />
</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Submit" /></td>
</tr>
</table>
</form>
</body>
</html>
|