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,
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
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
[...] 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
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,
> 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
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
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
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 = '';
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
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
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
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
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
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
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
16 matches
Mail list logo