
26-08-2006, 16:30
|
|
|
|
חבר מתאריך: 17.06.06
הודעות: 109
|
|
תודה אבל יש משהו מוזר...
שאני מוסיף את הפוקציה הזאת לפה:
קוד PHP:
<?php $ip = ($_SERVER['REMOTE_ADDR']); $filename = 'ip.png'; $im = imagecreatefrompng($filename); $RandSec = strtoupper(substr(md5(rand(1,999999)),0,6)); //Making the 6 Characters Security Code , using MD5 And Rand() $textcolor = imagecolorallocate($im,00,00,00); //White $font = imageloadfont("04b.gdf"); imagestring($im, 5,50,20, $ip,$textcolor,$font); imagepng($im); ?>
זה לא עובד...
|