And I'm creating image with sending headers. So my image is being created but I can't display other part of page. I know it's obvious when sending headers first.
So I used an IFRAME that is having only code for displaying image.
So my login page having something like this ---
<iframe src='captcha.php' name='captcha' width='250' height='100'>
<p> Can't see image ? <a href='captcha.php' target='captcha'> Get Another </a> </p>
<!--- other part of code goes here like my Form ! -->
It works fine in IE but not in FireFox and Safari.
Instead, in iframe it's showing some warning and garbage strings when page opened in FireFox and Safari.
I used DOCTYPE that allows frameset like this ----
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
Am I clear? It's confusing. Help. Thank you !