Hi,
I have created an awesome CAPTCHA, however my CAPTCHA does not work in my web host.
I have tested several times and I have found out the reason. The reason is the function imagettftext().
When I replaced imagettftext() function with imagestring(), all worked fine. I would like to know is there any way to make imagettftext() working? My host is using GD 2 or higher with all image types allowed, also freetype libraries and everything allowed. Can't understand why doesn't imagettftext() work for them. I couldn't even find that function from the disabled functions list.
imagestring() is ok all the way, except it does not have font and angle support. My CAPTCHA uses 5 different fonts randomly and have some angle with the characters so I really need this function to work!
Any help? Much appreciated!
Thank you.
imagettftext is not working for my host, help?
Moderator: General Moderators
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.