随笔分类 -  零散基础知识

摘要:no = $no; $this->name = $name; $this->cname = $cname; } //显示英雄链表 public static function showHero($head){ $cur = $head; ... 阅读全文

posted @ 2015-01-30 11:57 anyongchao

摘要:function traverse($path = '.') { $current_dir = opendir($path); //opendir()返回一个目录句柄,失败返回false while(($file = rea... 阅读全文

posted @ 2015-01-16 15:22 anyongchao

摘要:Session数据是存储在服务器上的,Cookie数据是存储在浏览器本机上的.但如果浏览器不支持使用/接受Cookie,则不能使用Session.这是因为,虽然Session真正的数据是存储在服务器上的,但每个Session都对应了一个由Web服务器指定的唯一识别符SeesionID,而在浏览器里是... 阅读全文

posted @ 2015-01-04 19:16 anyongchao