yipeiwu_com6年前
php面试题说明 : 例如:my name is fanglor =》 ym eman si orlgnaf php面试题的答案: 复制代码 代码如下: function restr (...
yipeiwu_com6年前
php面试题的题目: $a = '/a/b/c/d/e.php'; $b = '/a/b/12/34/c.php'; //计算出 $b 相对于 $a 的相对路径应该是 ../../c/d...
yipeiwu_com6年前
php面试题题目如下: 复制代码 代码如下: <?php $a = 1; $x =&$a; $b=$a++; ?> 问: $b和$x的值分别是什么? php面试题的答案如下...
yipeiwu_com6年前
复制代码 代码如下: $act = isset ($_GET['act']) ? trim ($_GET['act']) : "; if ($act == 'del') { $sort_...
yipeiwu_com6年前
复制代码 代码如下: //– 删除一篇文章生成的多个静态页面 //– 生成的文章名为 5.html 5_2.html 5_3.html /*—————————————————— */ f...
yipeiwu_com6年前
目录下必须有default.gif(此图为模板缩略图)的才为合法的模板 复制代码 代码如下: function get_template () { $template = array (...
yipeiwu_com6年前
复制代码 代码如下: /*—————————————————— */ //– 递归删除文件及目录 //– 例: del_dir (‘../cache/');注意:返回的/是必须的 //–...
yipeiwu_com6年前
复制代码 代码如下: /*—————————————————— */ //– 获取无限分类的列表数据 /*—————————————————— */ function get_sort...
yipeiwu_com6年前
复制代码 代码如下: /*—————————————————— */ //– 递归实现无限分类生成下拉列表函数 //– $tpl->assign('sort_list',creat...
yipeiwu_com6年前
复制代码 代码如下: /*—————————————————— */ //– 简单提示框函数 /*—————————————————— */ function alert ($msg,$...