三
28
最近遇到,百度 Java API 因为 SSL 证书失效,而导致访问失败的问题。把之前生成SSL证书的过程翻出来,记录下来,备忘。
Read the rest of this entry
最近遇到,百度 Java API 因为 SSL 证书失效,而导致访问失败的问题。把之前生成SSL证书的过程翻出来,记录下来,备忘。
Read the rest of this entry
随着系统数据量的增长,数据库的优化提上议程。数据库的优化包含多个方面,硬件、数据库系统配置、选择合适的存储引擎,以及优化数据库操作方法等。今天先整理一下存储引擎的选择,以及数据库操作的优化。
Read the rest of this entry
PHP5 提供了很多面向对象编程的特征,其中包括有魔术方法、魔术变量。这些魔术方法、变量大大简化了程序编码。学习笔记,备忘。
魔术方法包括:__construct(), __destruct(), __call($key, $args), __callStatic(), __get(), __set(), __isset(), __unset() , __sleep(), __wakeup(), __toString(), __set_state(), __clone(), __autoload()
Read the rest of this entry
PHP的安全模式,可以有效控制PHP对系统操作,保证服务器的安全。建议开启safe_mode安全模式,避免未知攻击。
Read the rest of this entry