摘要: 很简单,看代码,运行代码后在图片目录下会生成yuxing.xml<?php/* * 生成ubuntu自动切换壁纸xml文件 *///图片目录$dir = '/home/yuxing/background';$hd = opendir($dir) or die('can not open dir');$files = array();while($file = readdir($hd)) { $tem = "$dir/$file"; if (is_file($tem) && in_array(strtolower(subs 阅读全文
posted @ 2010-07-12 20:12 Yuxing 阅读(587) 评论(0) 推荐(0) 编辑