Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Error while loading gdf
Old 12-06-2005, 07:18 AM Error while loading gdf
Ickie's Avatar
Extreme Talker

Posts: 217
Location: Australia
Trades: 0
PHP Code:
$font imageloadfont('default.gdf'); 
PHP Code:
$im imagecreate(2812);

if(
$colorscheme == 0) {
$col1 ImageColorAllocate($im255255255);
$col2 ImageColorAllocate($im000);
} else {
$col1 ImageColorAllocate($im000);
$col2 ImageColorAllocate($im255255255);
}

srand((double)microtime()*1000000);
$string md5(rand(0,9999));
$new_string substr($string17$wordlength);

imagefill($im00$col2);

imagestring($im$font22$new_string$col1);

$veriword=$new_string;

imagepng($im"verify.png");
imagedestroy($im); 
What's wrong, I get this error
Code:
Warning: imageloadfont(default.gdf): failed to open stream: No such file or directory in /home/.../public_html/ on line 6
But the visual image still works.
Ickie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Error while loading gdf
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18697 seconds with 12 queries