MSFN Forum: Problems in making my dynamic signature - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problems in making my dynamic signature Rate Topic: -----

#1 User is offline   Mamoun 

  • MSFN forever!
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 23-May 05

Posted 11 June 2006 - 06:40 AM

Hii, After I read the pinned topic of how to create a dynamic signature, I decided to create one, I want this one to get the number in this page.

But it's not working, here is the not-working signature,and here is the code:

<?php
Header ('Content-type: image/jpeg');
$counterfile = "counter.html";
$fo = fopen($counterfile, 'r'); or die("Error");
$count = fread($fo, filesize($counterfile));
fclose($fo);
echo $count;
$font = ('verdana.ttf'); 
$im = imagecreatefromjpeg('back.jpg'); 
$blue = imagecolorallocate($im, 255,255,255); 
imagettftext($im, 9, 0, 4, 12, $blue, $font,"count". $count); 
imagepng($im); 
imagedestroy($im); 
?>


and my host can host dynamic signatures, and I uploaded the font, the background and the .htaccess file, in the same directory..

So where is the error?


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy