Grasp.Today
摘要: mysql_query()($sql, $conn); $count = mysql_num_rows($query); if ($count > 0) { exit(json_encode(1)); //返回1表示注册失败 } else { $addsql = "insert into `member` (username,password,email) values ('$username','$password','$email')"... 阅读全文
posted @ 2013-07-30 22:13 gaohj 阅读(688) 评论(0) 推荐(0) 编辑
摘要: connect('127.0.0.1',6379);$redis->set('test','hello world!');echo $redis->get('test');?> unzip nicolasff-phpredis-2.2.2-52-g70430fb.zip cd nicolasff-phpredis-70430fb phpize ./configure make&& make install 1.find / -name php.ini 有的时候 /etc/php.ini 是不起作用 阅读全文
posted @ 2013-07-30 17:00 gaohj 阅读(529) 评论(1) 推荐(0) 编辑