Forum Moderators: coopster
Looks like opening an image file in a text editor. What is needed to get this to display correctly?
This is my code, which isn't much, but is supposed to be all that is needed:
require_once 'includes/securimage/securimage.php';
$image = new Securimage();
$image->show();
The last line outputs the above gibberish...
Please help. Thanks.
header( "Content-type: image/png" ); //this is before you output anything else
.
.
require( 'includes/securimage/securimage.php' ); //no need for require_once() I think
$image = new Securimage();
$image->show();
But I've created a convoluted way to get captcha to work with joomla.
Really appreciate everyone's input and fast replies.