So I have this form here: http://www.piataterenuri.info/register.php The problem is that Firefox caches the captcha image and after an incorect input, or a page refresh the captcha will show the old image instead of the curent one.
I've already placed:
header("Cache-Control: no-cache");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
And also changed the captcha img src to
<?php $rand=microtime() * mktime(); echo "src=\"captcha.php?time=$rand\""; ?>
What else can I do to stop firefox from caching the image?