GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 08-Jun-2007, 17:31
ninedoors ninedoors is offline
New Member
 
Join Date: Jun 2007
Posts: 3
ninedoors is on a distinguished road

Specifying a path in php


I am trying to create a CAPTCHA for my form on my website. But I get this error

Warning: imageftbbox() [function.imageftbbox]: Could not find/open font in /home/barrie/public_html/php-captcha.inc.php on line 296

Warning: imagefttext() [function.imagefttext]: Could not find/open font in /home/barrie/public_html/php-captcha.inc.php on line 304

I know this is referring to where I have defined the varibable $aFonts on line 91. I am trying to assign aFonts to a folder as it holds the fonts I need for the CAPTCHA. I'm just not sure how I do that. The fonts are in a folder named ttf-bitstream-vera-1.10 in my public_html folder on the server.

I am attaching the file this relates to as well. Hopefully some can help.

This is also an audio CAPTCHA and was wondering what exactly I need to take out of the code so that it is only a visual CAPTCHA. I go it at www.ejeliot.com. It is the best one I have found but only want the visual part.

Thanks Nick
Attached Files
File Type: txt captcha.txt (18.6 KB, 14 views)
  #2  
Old 09-Jun-2007, 22:31
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 778
admin will become famous soon enough

Re: Specifying a path in php


This one? $aFonts = 'home/public_html/ttf-bitstream-vera-1.10',?

Maybe you are supposed to insert barrie in there somewhere?
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
 
 

Recent GIDBlogToyota - 2008 November Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Alternative PHP Cache (APC) admin Web Hosting Forum 0 05-May-2006 00:41
PHP - sizes and generation times cable_guy_67 MySQL / PHP Forum 3 29-Sep-2005 09:26
Help ! I need help starting up on Php ! onauc MySQL / PHP Forum 11 05-Jan-2005 00:57
uisng php to display php dopee MySQL / PHP Forum 6 14-May-2004 19:40
All the big PHP script collections that matter jrobbio MySQL / PHP Forum 5 06-Jun-2003 17:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:54.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.