
Originally Posted by
Jeffey
Sorry dude, in my excitement I didn't read the next post which was yours, looks like you tried that already.
Hopefully this will help others, mine now appears to work even with additional drop down subject line for contact_us page.
Hey jeffey,
Thanks for the follow-up and the PM. Well I tried the suggestion again and it indeed works on the test version:
Code:
<?php
/**
* @version $Id: captcha_img.php v 2.5 23.03.2007 13:11 AndrewBerezin $
*/
// ob_start();
require('includes/application_top.php');
// ob_end_clean();
require(DIR_WS_CLASSES . 'captcha.php');
$captcha = new captcha();
$captcha->generateCaptcha();
?>
I may be wrong but I had understood Andrew repaired this issue in latest mod version and stated that ob_start() and ob_end_clean() were required for security reasons?
Andrew, is this the case? Or is it ok to comment out those two functions?
What's strange to me is that on one account the test version WITHOUT the two lines having commented out, displays the captcha image. But on another account on the exact same host machine, the image will not display without the the two lines above commented out.
I did a google search on "ob_start php" and see lots of issues posted.
Ideas anyone?
Woody
Bookmarks