![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web
风水工程师
高达男
展开
-
PHP extract() 函数的用法
将键值 "Cat"、"Dog" 和 "Horse" 赋值给变量 $a、$b 和 $c: <?php $a = "Original"; $my_array = array("a" => "Cat","b" => "Dog", "c" => "Horse"); extract($my_array); echo "\$a = $a; \$b = $b; \$c = $c"; ?>原创 2016-04-29 11:48:46 · 993 阅读 · 0 评论 -
支持get post ccokie 获取
function getgpc($k, $type='GP') { $type = strtoupper($type); switch($type) { case 'G': $var = &$_GET; break; case 'P': $var = &$_POST; break; case 'C': $var = &$_C原创 2016-06-07 18:13:41 · 403 阅读 · 0 评论 -
JQuery window、document、 body
我电脑屏幕分辨率:1440 * 900 最大化浏览器,刷新浏览器 alert($(window).width() + "---" + $(window).height()); 1423---768 alert($(document).width() + "---" + $(document).height()); 2008---2216 alert($("bod原创 2016-09-06 16:21:40 · 409 阅读 · 0 评论