If you're saying that the file size of the ttf *changes* when you
upload it, I would check your upload mechanism.
Otherwise, replace the Content-type header with text/plain -
header('Content-type: text/plain', true); - and you may find the
answer in plain sight in the browser output (e.g. an error or warning
output to the browser)
Cheers,
- Bob -
On 7/06/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]
-~----------~----~----~----~------~----~------~--~---