06 2016 档案

摘要:PHP: 数组转字符串:explode() $str = "Hello world. It's a beautiful day."; print_r (explode(" ",$str)); ?> 结果: Array( [0] => Hello [1] => world. [2] => It's [ 阅读全文
posted @ 2016-06-15 16:57 Docter 阅读(359) 评论(0) 推荐(0)
摘要:1.使用header()函数的重定向方式实现网页跳转。 EXE:header("Location: http://www.example.com/"); 2.URL的GET请求中附带参数 EXE: http://www.examble.com?id=1 3.隐藏表单存储资料,通过表单POST,GET 阅读全文
posted @ 2016-06-14 13:03 Docter 阅读(1153) 评论(0) 推荐(0)