supertiti
03-10-2007, 10:31 AM
Hi everyone
I'm trying to set up a basic home made CAPTCHA system to secure users registration to my site's mailing list. I created a php script to display a random image and used include() to try make it appear in a table cell. But it doesn't seem to work, and in fact i don't even know if it's possible to do it this way.
Here is the table code, could somebody tell me what's wrong ?
Many thanks
Terence
<table align="left" width="800px" height="150">
<tr>
<td width="129">Name</td>
<td width="275"><input name="name" type="text" maxlength="256" /></td>
<td width="217">Please write the text you see in the image</td>
<td width="159"><?php include('rand.php'); ?></td>
</tr>
<tr>
<td>Mail:</td>
<td><input type="text" name="mail" /></td>
<td><input type="text" name="code" /></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Ajouter" /></td>
</tr>
</table>
I'm trying to set up a basic home made CAPTCHA system to secure users registration to my site's mailing list. I created a php script to display a random image and used include() to try make it appear in a table cell. But it doesn't seem to work, and in fact i don't even know if it's possible to do it this way.
Here is the table code, could somebody tell me what's wrong ?
Many thanks
Terence
<table align="left" width="800px" height="150">
<tr>
<td width="129">Name</td>
<td width="275"><input name="name" type="text" maxlength="256" /></td>
<td width="217">Please write the text you see in the image</td>
<td width="159"><?php include('rand.php'); ?></td>
</tr>
<tr>
<td>Mail:</td>
<td><input type="text" name="mail" /></td>
<td><input type="text" name="code" /></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Ajouter" /></td>
</tr>
</table>