[PHP] GD brush tracing letters

2008-06-14 Thread eric cash
Quick GD question, I'm building a custom CAPTCHA, and I want to 'trace' random letters (hopefully from a random font) with a brush. Is there an easy way to do this, or am I going to have to build some ridiculous custom library on my own to do it? Thanks! ec -- PHP General Mailing List

[PHP] exif_imagetype and constant confusion

2008-06-19 Thread eric cash
Stupid question time! I can't find my answer anywhere, sorry about this... The nature of the return value of exif_imagetype() is baffling me. The php manual uses one simple example like this: code ?php if (exif_imagetype('image.gif') != IMAGETYPE_GIF) { echo 'The picture is not a