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 ---
Code: Select all
<!--- other part of code goes here like my Form ! -->
<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 ! -->
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 ----
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">