Codice PHP:
<?php
$gd 
gd_info();
echo 
"<pre>";
print_r($gd);
?>
<form method='post' action='mem_target.php'>
    [img]mem_captcha1.php?name=pippo[/img]
    <input type='text' name='codice'>
    <input type='Submit' name='Submit'>
</form>
ovviamente i nomi dei file sono a mia fantasia. tu metterai i tuoi. oppure puoi anche fare un file con il solo codice php e provare.