12-02-06, 16:02
|
# 8
|
חבר וותיק
|
ציטוט:
נכתב במקור על ידי KuChI-PoChI
חמוד אבל חחח יכולת לעשות ככה
PHP קוד:
<?php
$date = date("d.m.y [H:i:s]");
$im = imagecreate(170, 20);
$bg = imagecolorallocate($im, 255, 255, 255);
$textcolor = imagecolorallocate($im, 0, 0, 255);
imagestring($im, 5, 0, 0, $date, $textcolor);
header("Content-type: image/jpg");
imagejpeg($im);
?>
וככה יוצר יותר יפה + יותר קצר מהקוד שלך

|
מה יוצא אצלך שלא יצא אצלי? (בקשר ל "יותר יפה"..)
|
|
|