2012年8月11日

摘要: 原文链接:http://www.developerdrive.com/2012/07/6-ways-web-developers-can-damage-their-caree/The web development industry is one that is always growing because of how we use the web. No longer do we expect the Internet to simply host a digital pamphlet for a business.The expectations nowadays are for a s 阅读全文
posted @ 2012-08-11 18:48 matthio 阅读(571) 评论(4) 推荐(0)

2012年7月24日

摘要: 原文链接:http://www.oschina.net/question/157182_62071如何写出好的 PHP 代码?编写良好的代码是一种艺术。如果一个程序员遵循一些良好的编程习惯,那么他就可以成为一个优秀的程序员。实际上,相对于你写代码的时间,你很可能会花更多的时间在代码维护上;更不用说整个应用程序的维护。建立良好的编码习惯,能够提高像模块化这样的设计因素,你的代码也将更容易理解,因此,维护起来更容易、成本更低。而不良的编码习惯会在代码中存在缺陷,并可能导致代码很难维护。在本文中,我们将探讨一些良好的编程习惯,这将帮助你避免代码中的缺陷。1- 编写模块化代码良好的PHP代码应该是模块 阅读全文
posted @ 2012-07-24 20:39 matthio 阅读(767) 评论(1) 推荐(3)

2012年7月20日

摘要: 开启方法如下:1. httpd.conf中打开deflate_Module和headers_Module模块2. httpd.conf中添加:simple is beautiful<IfModule deflate_module>SetOutputFilter DEFLATE# Don’t compress images and otherSetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-varySetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ n 阅读全文
posted @ 2012-07-20 17:41 matthio 阅读(239) 评论(0) 推荐(0)
摘要: 有很多方法:1.用root 进入mysql后mysql>set password =password('你的密码');mysql>flush privileges;2.使用GRANT语句 mysql>grant all on *.* to 'root'@'localhost' IDENTIFIED BY '你的密码'with grant option ;mysql>flush privileges;3.进入mysql库修改user表mysql>use mysql;mysql>update use 阅读全文
posted @ 2012-07-20 17:37 matthio 阅读(597) 评论(0) 推荐(0)

导航