php result label class for edit-captcha-respons Please type in the cha

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<?php
$result = '<label class="" for="edit-captcha-response">Please type in the characters below: <span class="form-required" title="This field is required.">(required)</span></label>
<input maxlength="128" name="captcha_response" id="edit-captcha-response" size="15" value="" class="form-text required" type="text">
</div><!-- /form-item -->
<img src="/?q=image_captcha/602823329" alt="Image CAPTCHA" title="Image CAPTCHA"><input name="captcha_token" id="edit-captcha-token" value="4bc638e3ffa9408a7596dd530a457544" type="hidden">
</fieldset>';
ereg('<img src="/?q=image_captcha/^([0-9])"', $result, $out);
echo $out[1];
?>