0
これらのコードを組み合わせることはできません。私はテストしましたが、動作していません(エラー)。 Plsは私のファイル(image.php)でimage.php + imagebackgroundの作成方法
は、show 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);
?>
を助ける/ ME /感謝
を助けてください
この回答ありがとうございます – tmmovie