Hi Steve,

Could try a few things to debug:

- try writing a simple image - i.e. filled box and see if that works
- try writing to file instead of browser stream and see if that works
- try using a different font file and see if that works
- try using an alternative lib like imagemagick as a last resort?

Hope these help.

Cheers,
-Dan


On Sun, Jun 7, 2009 at 7:09 AM, yeosteve<[email protected]> wrote:
>
> HI all,
>
> I'm trying to install a captcha, and it works fine on my local machine
> (Linux with an XAMPP installed server) but the image won't show up on
> my site.  I'm currently trying the one from
> http://www.white-hat-web-design.co.uk/articles/php-captcha.php, but
> every one I've tried has the same problem
>
> The GD library seems to be identical in both servers.The only thing
> I've noticed so far is that the fonts have a smaller file size when
> uploaded. Their monotype.ttf is 41,036 on my machine, anad 40,905 when
> uploaded.  The captcha code itself is being produced, but not the
> image.
>
> Does anybody have any hints about where I should look next?
>
> Thanks
> Steve
> >
>

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to