header('Content-type: image/png');
header('Content-Disposition: attachment; filename="index.png"');
readfile('http://beijingmarathon2015.hupu.com/frontSource/beijingMarathon2015/images/index.png');
http://php.net/manual/zh/func...
http://php.net/manual/zh/func...
ox16进制
header("Content-type: image/jpeg");
$im = imagecreatefrompng("http://baidu.com/images/bg-beer.png");
$textcolor = imagecolorallocate($im,0,0,0);
$font = "/fonts/simhei.ttf";
$text='12345';
$text = mb_convert_encoding($text,"html-entities", "utf-8");
imagettftext($im,10,0,200,200,$textcolor,$font,$text);
imagepng($im);
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。