![]() |
|
#1
|
|||
|
|||
Specifying a path in phpI 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 |
|||
|
#2
|
||||
|
||||
Re: Specifying a path in phpThis one? $aFonts = 'home/public_html/ttf-bitstream-vera-1.10',?
Maybe you are supposed to insert barrie in there somewhere? |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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