Now if im setting up the random words like so.
// couple known varibles that may be useful to answer the question.
$width = 400;
$height = 220;
$text1 = array_rand($random);
imagettftext($im, 18, mt_rand(-30, 30), mt_rand(45, 65), mt_rand(65, 85), $forground_color, $font, $random[$text1]);
unset($random[$text1]);
$text2 = array_rand($random);
imagettftext($im, 18, mt_rand(-30, 30), mt_rand(275, 325), mt_rand(55, 75), $forground_color, $font, $random[$text2]);
unset($random[$text2]);
$text3 = array_rand($random);
imagettftext($im, 18, mt_rand(-30, 30), mt_rand(135, 175), mt_rand(75, 155), $forground_color, $font, $random[$text3]);
unset($random[$text3]);
$text4 = array_rand($random);
imagettftext($im, 18, mt_rand(-30, 30), mt_rand(55, 75), mt_rand(155, 165), $forground_color, $font, $random[$text4]);
unset($random[$text4]);
$text5 = array_rand($random);
imagettftext($im, 18, mt_rand(-30, 30), mt_rand(300, 325), mt_rand(125, 175), $forground_color, $font, $random[$text5]);
unset($random[$text5]);
Any ideas how i can map the xy of the clicks?
Things that ive yet to figure the best way to do is to find out which two $text match and how to use the $_POST x and y to determin where a VALID click came from?
What im trying not to do is not pass any more POST varibles other than the uid and the xy.