亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

這個整個教程有沒有源碼的呢

這個整個教程有沒有源碼的呢

正在回答

3 回答

<?php
$filename="images/thumb.jpg";
$fileInfo=getimagesize($filename);
$mime=$fileInfo['mime'];
$createfrom=str_replace('/','createfrom',$mime);
$outFun=str_replace('/',null,$mime);
$image=$createfrom($filename);
$red=imagecolorallocatealpha($image,255,0,0,60);
$fontfile='fonts/Doodle?Camp.ttf';
imagettftext($image,30,0,0,30,$red,$fontfile,"水印");
header("content-type:.$mime;charset='utf-8'");
$outFun($image);
imagedestroy($image);


0 回復 有任何疑惑可以回復我~
<?php
$filename="images/thumb.jpg";
$fileInfo=getimagesize($filename);
$mime=$fileInfo['mime'];
$createfrom=str_replace('/','createfrom',$mime);
$outFun=str_replace('/','null',$mime);
$image=$createfrom($filename);
$red=imagecolorallocatealpha($image,255,0,0,60);
$fontfile='fonts/BRITANIC.TTF';
imagettftext($image,30,0,0,30,$red,$fontfile,"水印");
header('content-type:'.$mime);
$outFun($image);
imagedestroy($image);


0 回復 有任何疑惑可以回復我~

貌似沒有哦

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

這個整個教程有沒有源碼的呢

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號