Re: Re[2]: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-31 Thread Ben Sgro \(ProjectSkyLine\)
ED]> To: "NYPHP Talk" Sent: Wednesday, August 29, 2007 11:07 PM Subject: Re: Re[2]: [nyphp-talk] PEAR CAPTCHA Problems Hello Mike, I did a print_r() on the object to see, and the path is correct. I also did a chmod 777 on the arial.ttf file, plus tried to chown it as well to ap

Re: Re[2]: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread Ben Sgro \(ProjectSkyLine\)
s: www.project-contact.com This e-mail is confidential information intended only for the use of the individual to whom it is addressed. - Original Message - From: <[EMAIL PROTECTED]> To: "NYPHP Talk" Sent: Wednesday, August 29, 2007 10:13 PM Subject: Re[2]: [nyphp-talk] PEA

Re[2]: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread mikesz
ucts: www.project-contact.com > This e-mail is confidential information intended only for the use of the > individual to whom it is addressed. > - Original Message - > From: "Gary Mort" <[EMAIL PROTECTED]> > To: "NYPHP Talk" > Sent: Wednesday, August 2

Re: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread Ben Sgro \(ProjectSkyLine\)
essed. - Original Message - From: "Gary Mort" <[EMAIL PROTECTED]> To: "NYPHP Talk" Sent: Wednesday, August 29, 2007 7:43 PM Subject: Re: [nyphp-talk] PEAR CAPTCHA Problems Find a ttf file, any ttf file(if your using windows, take a look in your control panel-&

Re: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread Gary Mort
Find a ttf file, any ttf file(if your using windows, take a look in your control panel->fonts folder Upload it to the server and put it somewhere readable by your web program. Set the options appropriately, ie: |// Set CAPTCHA options (font must exist!) $options = array( 'font_size' => 24,

Re: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread John Campbell
> I did a "locate arial.ttf" > and it found nothing. Fonts should be in /usr/X11R6/lib/X11/fonts/ You probably need to install mscorefonts and freetype. ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon

Re: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread Ben Sgro \(ProjectSkyLine\)
ect-contact.com This e-mail is confidential information intended only for the use of the individual to whom it is addressed. - Original Message - From: "John Campbell" <[EMAIL PROTECTED]> To: "NYPHP Talk" Sent: Wednesday, August 29, 2007 6:58 PM Subject: Re:

Re: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread John Campbell
Are you on a linux server? Is freetype and the arial font installed? ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New Yor

[nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread Ben Sgro \(ProjectSkyLine\)
Hello, I've just written a class around the PEAR captcha code. Except, I can't get it to work. The code is included: class Captcha { private $path; public $error; function __construct($PATH) { $this->phrase = ''; $this->image = '';