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

2007-08-29 Thread Ben Sgro \(ProjectSkyLine\)
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 apache. Nothing seems to work. Here is the PEAR code where its failing: $this->_imt = new Image_Text( $this->_phrase,

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

2007-08-29 Thread mikesz
Hello Ben, Thursday, August 30, 2007, 9:39:20 AM, you wrote: > Hello, > I did just as you stated. No luck. > I grabbed the file from windows and mac (.ttf) checked the path, tried a few > variations, and made sure the $options array had the values set before > passing to the function. > I want

Re: [nyphp-talk] PEAR CAPTCHA Problems

2007-08-29 Thread Ben Sgro \(ProjectSkyLine\)
Hello, I did just as you stated. No luck. I grabbed the file from windows and mac (.ttf) checked the path, tried a few variations, and made sure the $options array had the values set before passing to the function. I want to say its a path issue, but I've tried both relative and absolute paths

Re: [nyphp-talk] How to make a model/database accessible to different parts/classes of the application

2007-08-29 Thread Dell Sala
[...] my second attempt was to create a singleton, but the problem is that my model needs configuration data in order to be instantiated correctly. So whenever I would call the getInstance (...) method I need to have the model's configuration data available as I can't always be sure that the

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\)
Hello Jon, Yes I'm on centOS, I have no idea about fonts. Where do I look. I did a "locate arial.ttf" and it found nothing. - Ben Ben Sgro, President ProjectSkyLine - Defining New Horizons +1 718.487.9368 (N.Y. Office) Our company: www.projectskyline.com Our products: www.project-contact.com

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 = '';

RE: [nyphp-talk] Full time PHP/MySQL/*nix guru needed.

2007-08-29 Thread Hans Zaunere
Hi Arlo, You may post jobs/etc to our Jobs list as well. http://lists.nyphp.org/mailman/listinfo/jobs H Arlo Gilbert wrote on Wednesday, August 29, 2007 5:21 PM: > I hope this is appropriate to post. > > I am looking for one full time expert at PHP/MySQL/*nix... this is a > great paying job

[nyphp-talk] Full time PHP/MySQL/*nix guru needed.

2007-08-29 Thread Arlo Gilbert
I hope this is appropriate to post. I am looking for one full time expert at PHP/MySQL/*nix... this is a great paying job, allows you to work from home, hours are flexible. Duties include maintaining code, debugging, administering systems, monitoring databases, creating new scripts to inter

[nyphp-talk] How to make a model/database accessible to different parts/classes of the application

2007-08-29 Thread Jakob Buchgraber
Hey! I have an MVC based application and I need to have access to my Model object in different parts of the application (controller, templates(read operations), view helpers, plugins ...). So I first thought of passing it to each class that needs it, however it's not very elegant to pass it t

Re: [nyphp-talk] Two part question: Shopping carts & E-commerce

2007-08-29 Thread Ben Sgro (ProjectSkyLine)
Hello again, I looked at shopify, seems cool but only supports google and paypal. I dont *think* my client wants to use them. But I will double check. I've worked with the paypal IPN system for subscriptions only. Never with a cart or multiple items. John Campbell asked which of the two options

Re: [nyphp-talk] Framework poll

2007-08-29 Thread David Mintz
Yeah, tried playing with it once, declared it too complicated, moved on. On 8/29/07, Vass Arpad <[EMAIL PROTECTED]> wrote: > > Hi everybody! > > Did you try the Qcodo Framework? > > www.qcodo.com > > ___ > New York PHP Community Talk Mailing List > http

Re: XML vs. Table DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-29 Thread Kenneth Downs
Elliotte Harold wrote: Kenneth Downs wrote: Select title ,SUBSTRING(text ...insert regexp here...) from chapters where book_name = 'XML in a Nutshell' Regexps can't do that though. Regular expression are an insufficiently powerful tool for processing XML. Trying to do that is j

[nyphp-talk] Framework poll

2007-08-29 Thread Vass Arpad
Hi everybody! Did you try the Qcodo Framework? www.qcodo.com ___ 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 York