上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 29 下一页
摘要: function foo($arg){ $arg_num = func_num_args(); // 获取函数参数的个数 $args = func_get_args(); // 获取函数参数列表,以数组形式返回 $arg = func_get_arg(1); // 获取指定的函数参数 print_r($arg);}foo(1, 2);==============================// 寻找与模式匹配的文件路径// glob(partern[, flag])// flag : // GLOB_MARK - 在每个返回的项目中加一个斜线// GLOB_NOSORT - 按照文件在目录 阅读全文
posted @ 2014-03-14 10:00 好记性还真不如烂笔头 阅读(149) 评论(0) 推荐(0)
摘要: 数据库配置文件config.php登录首页login.php" method="post">user:pwd:实际登录的页面face.php退出登出页面logout.php 阅读全文
posted @ 2014-03-13 23:02 好记性还真不如烂笔头 阅读(246) 评论(0) 推荐(0)
摘要: sess_read()->sess_write() -> sess_close() ->sess_destroy() -> sess_gc()ini_set("session.save_handler", "user"); // 自定义保存方式function sess_open($sess_pa... 阅读全文
posted @ 2014-03-13 15:43 好记性还真不如烂笔头 阅读(536) 评论(0) 推荐(0)
摘要: 如正则的函数 preg_replace($patern, $replacement, $content) 等等其中如果 $content 中要替换 \ 成 /,必须在 $patern中写成 \\\\,因为首先是 PHP 解析为 \\,再由正则解析为 \,所以必须形如 preg_replace('/[\\\\]{1,}/', '/', $content)其实就是两次解析,一次为 php 引擎解析,一次是 正则解析! 阅读全文
posted @ 2014-03-13 10:18 好记性还真不如烂笔头 阅读(280) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-03-13 00:11 好记性还真不如烂笔头 阅读(248) 评论(0) 推荐(0)
摘要: jquery下拉竖导航菜单代码 第一 the one the one the one 第二 the one 3333dd the one 第三 the one the one the one 第四季度 the one the one the one ... 阅读全文
posted @ 2014-03-09 22:24 好记性还真不如烂笔头 阅读(607) 评论(0) 推荐(0)
摘要: lin_jquery 1234 阅读全文
posted @ 2014-03-09 22:21 好记性还真不如烂笔头 阅读(210) 评论(0) 推荐(0)
摘要: my_news xxxxxxxxxx mmmmmm mmmmmm mmmmmm yyyyyyyyyyy yyyyyyyyyy zzzzzzzzzz zzzzzzzzz xxxxxxxxxx 1111111111111 xxxxxxxxxx 1111111111111 阅读全文
posted @ 2014-03-09 22:19 好记性还真不如烂笔头 阅读(258) 评论(0) 推荐(0)
摘要: 图片滚动 阅读全文
posted @ 2014-03-09 22:17 好记性还真不如烂笔头 阅读(388) 评论(0) 推荐(0)
摘要: 间断滚动xxxxxxxxxxyyyyyyyyyy 阅读全文
posted @ 2014-03-09 22:16 好记性还真不如烂笔头 阅读(321) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 29 下一页