אשכול: שאלה על GD
View Single Post
ישן 29-10-05, 23:36   # 5
meshuga
הנהלת הפורום לשעבר
 
meshuga's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 36
הודעות: 7,601

meshuga לא מחובר  

אמממ....בשביל הלימוד,הרי זה פורום תמיכה..הטעות שלו הייתה במשתנה(לפי מה שאני רואה):
PHP קוד:
header("Content-type: image/gif"); 
$image="pic.gif"; 
$image=imagecreatefromgif($image); 
$white= imagecolorallocate($image, 0, 0, 0); 
$red=imagecolorallocate($image, 255, 255, 255); 
$text = $row['count']; 
$font = imageloadfont("fonts/Georgia.gdf"); 
imagestring($image, $font, 1, 5, $text, $red); 
imagegif($image); 
  Reply With Quote