代码:

<?php 
$img = 'ass/yinzhang'.rand(1, 4).'.png';
function reimage($src){
    $mime = image_type_to_mime_type(exif_imagetype($src));
    header('Content-Type:'.$mime);
    echo file_get_contents($src);
}
reimage($img);
?>

读取访问目标目录下的图片文件,名称为随机生成后拼接。

每次访问页面的时候,可以返回不同的图片数据。

PS:此为本站随机水印系统旧款代码,哈哈


天渊应龙圣神大帝-道锋潜鳞

天渊应龙圣神大帝-道锋潜鳞

由道而生,消逝于道

5 条评论

头像

cheap wigs · 2021年2月19日 下午10:20

I received my hair. I only took it to the barber shop to trim it last night. The hairdresser said it was better than the one I used to do. Later, I bought it at your home. The main purpose is to cover the white hair. The hair piece is big and many, it is good to cover the white hair, it is better than my previous one👍

头像

erotik · 2021年3月2日 上午2:26

whoah this blog is wonderful i love reading your posts. Keep up the good work! You know, lots of people are searching around for this info, you could help them greatly. Betty Tabby Muldon

头像

bursa escort · 2021年3月2日 上午3:36

Have you ever considered about including a little bit more than just your articles? Tedra Corbet Gonsalve

头像

erotik · 2021年3月2日 上午9:31

Well written scene that evokes the terror and pain of being in a sandstorm. Dixie Willem Kenway

头像

fellatio oral sex · 2021年3月5日 上午10:25

Good day! I simply would like to offer you a huge thumbs up for the great information you have here on this post. I will be coming back to your web site for more soon. Gianina Ryan Hurlee

发表评论

邮箱地址不会被公开。 必填项已用*标注