All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
利用XML实现通用WEB报表打印实际使用中的例子_[XML教程]
利用正则表达式自动给Email地址和Url加上连接_[Asp.Net教程]
visit c++中打开数据与关闭数据连接
常用的 MS SQL Server 数据修复命令_[SQL Server教程]
ASP.NET实现数字、字符混合验证码_[Asp.Net教程]
资深网管教你一步步安装MYSQL数据库_php资料_编程技术
ASP.NET从零起步设计网站全过程(7)_[Asp.Net教程]
delphi MapViewOfFile函数将映像文件映射到进程
HTML语言剖析(十一)排版标记_[Html教程]
C#中常用的集合类型
Reading number is top 10 pictures
美奂绝伦的风景
The money of more than 100 countries and regions7
Sora aoi mirror memorial classics5
2012 national geographic daily picture4
再发两张抽象画
So beauty, will let you spray blood1
The world's ten biggest attractions of inventory super the moon
This is heaven to some path
Fury xp desktop theme
Terrorist smile the largest human history an explosion1
Download software ranking
Unix video tutorial3
Tram sex maniac 2 (H) rar bag10
Unix video tutorial2
软件工程思想
电脑知识及技巧大合集
都市狐狸姑娘传
实战黑客不求人
Kung.Fu.Panda.2
apache-tomcat-6.0.33
The Bermuda triangle1
aaa published in(发表于) 2013/12/21 22:26:08 Edit(编辑)
PHP技术:回帖脱衣服的图片实现_php资料_编程技术

PHP技术:回帖脱衣服的图片实现_php资料_编程技术

PHP技术:回帖脱衣服的图片实现_php资料_编程技术-你的首页-uuhomepage.com

  randimage.php

/*
+---------------------------------------------------------+
| By Bleakwind http://www.weaverdream.com
+---------------------------------------------------------+
*/
$dir = "images/";//图片目录,注意是按照名字排序显示的...
$imgwidth = 0;//图片宽度,为0则为原始大小
$iforder = 1;//顺序显示还是随机显示,1为顺序显示,0为随机显示
$ifcircle = 0;//顺序显示的时候是否循环播放,1为循环播放,0为不循环
session_start();
if($imgwidth==0){$imgwidth=="";}else{$imgwidth=="width='".$imgwidth."'";}
$handle=opendir($dir);
while ($file_name=readdir($handle)){
if(($file_name!==".")&&($file_name!=="..")){$file_list[]=$file_name; }
}
closedir($handle);
if($iforder==1){
if(isset($_SESSION['sess_order'])){
if($_SESSION['sess_order']$_SESSION['sess_order']++;
}else{
if($ifcircle == 1){
$_SESSION['sess_order']=0;
}
}
}else{
$_SESSION['sess_order']=0;
}
$i=$_SESSION['sess_order'];
}else{
$num=count($file_list)-1;
$i=rand(0,$num);
}
readfile($dir.$file_list[$i]);
?>

  调用






添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.