אשכול: שאלה על GD
View Single Post
ישן 29-10-05, 22:11   # 3
Ori The Man
משתמש - היכל התהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: חיפה
גיל: 35
הודעות: 3,694
שלח הודעה באמצעות MSN אל Ori The Man Send a message via Skype™ to Ori The Man

Ori The Man לא מחובר  

לא עובד לי
PHP קוד:
header("Content-type: image/gif");
$image="pic.gif";
$image=imagecreatefromgif($img);
$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); 
קוד:
<br />
<b>Warning</b>:  imagecolorallocate(): supplied argument is not a valid Image resource in <b>/home/sitenet/domains/sit-e.net/public_html/ori/counter2.php</b> on line <b>13</b><br />
<br />
<b>Warning</b>:  imagecolorallocate(): supplied argument is not a valid Image resource in <b>/home/sitenet/domains/sit-e.net/public_html/ori/counter2.php</b> on line <b>14</b><br />
<br />
<b>Warning</b>:  imagestring(): supplied argument is not a valid Image resource in <b>/home/sitenet/domains/sit-e.net/public_html/ori/counter2.php</b> on line <b>17</b><br />
<br />
<b>Warning</b>:  imagegif(): supplied argument is not a valid Image resource in <b>/home/sitenet/domains/sit-e.net/public_html/ori/counter2.php</b> on line <b>18</b><br />
  Reply With Quote