';
fwrite ($fp, $data);
fclose ($fp);
echo <<\

\
Input code from image
\
\
');
EOF;
function rand_string($len, $chars = 'abcdefghjkmnpqrstyvwxyz23456789')
{
$string = '';
for ($i = 0; $i < $len; $i++)
{
$pos = rand(0, strlen($chars)-1);
$string .= $chars{$pos};
}
return $string;
}
?>