摘要: 第13章,线程做第13章练习3的时候,要用到第8章的所谓框架greenhousecontroller,仔细看了代码,it smells.ch13 ex03,俺没有让event类继承thread,而是在里面搞了匿名的runnable,主要是不想动greenhousecontrols里面的东西。改动很少,然后编译——tmd,出来的结果与预期不一样么。于是认真读greenhousectrols.jav......
摘要: 打造终极网页木马,值得一读! 如果你打开此页看到了类似下面的这个程序窗口,那我就“恭喜”你有“洞洞”了^o^ 此漏洞被发现已不是一天两天的事了,考虑到用户的安全等因素,微软以及一些安全组织并没有公开发布此漏洞,只是近日发现网络上有越来越多的利用该漏洞捆绑木马的网页后美国计算机应急响应小组(computer emergency readiness team,简称cert) 才正式公布了微软ie浏......
关注PDO 使用例子:<?php $dbh = new pdo(´mysql:dbname=test;host=localhost´, $username, $password); // let´s have exceptions instead of silence. // other modes: pdo_errmode_silent (default - check $stmt->errorcode() and $stmt->errorinfo()) // pdo_errmode_warning (php warnings) $dbh->setattribute(pdo_attr_errmode, pdo_errmode_exception); // one-shot query $dbh->exec("create table test(name varchar(255) not null primary key, value varchar(255));"); ?> 【推荐阅读:得到本机socket选项的全部默认值。】
pdo是由wez furlong.george schlossnagle.ilia alshanetsky.marcus b?rger等人参与开发的一个php数据对象抽象层,跟php4中的dbx类似,支持多种数据库接口.目前工作在php5环境下,将来可能会绑定到php5中.
...
下一页 摘要: 续之三,本文是idesign c#编程规范的第三章。 3 项目设置和项目结构 project settings and project structure 1. 总是以4级警告建立项目(图略)。 always build your project with warning level 4 2. 在发布版中将警告作为错误(注意这不是vs.net的缺省设置)(图略)。 treat warning a......