摘要:
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')"... 阅读全文
摘要:
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 是不起作用 阅读全文