How to show the image?
-
Hi, your instructions say:
Generate a random word for CAPTCHA.
$word = $captcha_instance->generate_random_word();
Generate an image file and a corresponding text file in the temporary directory.
$prefix = mt_rand();
$captcha_instance->generate_image( $prefix, $word );Then, show the image and get an answer from respondent.
But it doesnt tell how to show the image??
I feel really stupid here but I dont know how to show the image. All i can think of is something like:
echo $captcha_instance->generate_image( $prefix, $word );
But that only generates eg 1582600045.png – the image file name.
I still need to know the filepath, etc.
I have tried reading thru the first 5 pages of your support section and dont see anything…
Please help
- The topic ‘How to show the image?’ is closed to new replies.