![]() |
dont know about the design, but awsome hack!!
*installs* and as for the cron job thing: i do it every 15 minutes using the http:// url to the file. if i used the server path it wont work. |
Quote:
Dur whats the standard txt option ? lol :ninja: |
|
PHP Code:
|
Quote:
|
I'm getting this error, could someone please help?
thanks Warning: Wrong parameter count for imagettftext() in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238 Warning: Cannot modify header information - headers already sent by (output started at /home/qtss/bbs.metallifukinca.com/html/signature.php:238) in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 242 |
Check out this post and a few previous posts ...
|
here is my code..
// ######################### CHANGE FONT BELOW ############################ // Uncomment LINE1+LINE12 and comment LINE2+LINE22 to use default font. // Replace "verdana.ttf" with the URL to your .ttf font // //imagestring($img, $fontsize,0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output, $text_color); // LINE1 imagettftext($img, $fontsize, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color, "http://bbs.metallifukinca.com/verdana.php", $output); // LINE2 $i++; } header("Content-Type: image/png"); imagepng($img); imagejpeg($img, "$ausgabedatei",$komprimierung); //Write jpg to folder and set compression imagedestroy($img); // get the image out of memory ?> |
OK - you will need to have a local path, not a http:// path to your TTF font file
|
I'm getting this now :(
Parse error: parse error in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238 my code // ######################### CHANGE FONT BELOW ############################ // Uncomment LINE1+LINE12 and comment LINE2+LINE22 to use default font. // Replace "verdana.ttf" with the URL to your .ttf font // imagestring($img, $fontsize,0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output, $text_color); LINE1 imagettftext($img, $fontsize, 0,$left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color, "/home/qtss/bbs.metallifukinca.com/html/verdana.php", $output); LINE2 $i++; } header("Content-Type: image/png"); imagepng($img); imagejpeg($img, "$ausgabedatei",$komprimierung); //Write jpg to folder and set compression imagedestroy($img); // get the image out of memory ?> |
All times are GMT. The time now is 04:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|