0
我無法合併這些代碼。我已經測試但不工作(錯誤)。請幫助我如何創建一個image.php + imagebackground
顯示IP
<?php
$img_number = imagecreate(275,225);
$backcolor = imagecolorallocate($img_number,102,102,153);
$textcolor = imagecolorallocate($img_number,205,205,205);
imagefill($img_number,0,0,$backcolor);
$number = " Your IP is $_SERVER[REMOTE_ADDR]";
Imagestring($img_number,10,5,5,$number,$textcolor);
header("Content-type: image/jpeg");
imagejpeg($img_number);
?>
+背景圖
<?php
$im = imagecreatefrompng("imagetest.png");
header('Content-Type: image/png');
imagepng($im);
imagedestroy($im);
?>
在一個文件中(image.php)/請幫我
/感謝
謝謝你的回答 – tmmovie