四海人民公摄 - 海外华人摄影爱好者论坛

 找回密码
 注册
搜索
热搜: 活动 交友 discuz
查看: 969|回复: 2

One line random image

[复制链接]
发表于 2009-10-30 10:43:08 | 显示全部楼层 |阅读模式
  1. <img src="http://domain.tld/path/random/image_<?php $random = rand(1,n); echo $random; ?>.png" alt="[ Random Image ]" height="50" width="50" />
复制代码
发表于 2009-11-3 18:41:37 | 显示全部楼层
what's this about?
回复

使用道具 举报

 楼主| 发表于 2009-11-16 07:46:20 | 显示全部楼层
原帖由 jimbo 于 2009-11-3 18:41 发表
what's this about?
ha ha , just some technical notes put in one location so I can easily find them. I intend to share the knowledge with other web masters (they may find it via search engines). that's why I made it open.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|四海人民公摄 - 海外华人摄影爱好者网站

GMT+8, 2024-11-22 01:04

Powered by Discuz! X3.5

Copyright © 2001-2023 Tencent Cloud.

快速回复 返回顶部 返回列表