摘要:1. PHP可阅读随机字符串此代码将创建一个可阅读的字符串,使其更接近词典中的单词,实用且具有密码验证功能。View Code 1 /************** 2 *@length - length of random string (must be a multiple of 2) 3 **************/ 4 function readable_random_string($length = 6){ 5 $conso=array("b","c","d","f","g",&quo
阅读全文
摘要:ADODB类库下载:http://sourceforge.net/projects/adodb/files/adodb-php-4-and-5/adodb-491-for-php/adodb491.zip/downloadsystem.class.inc.php//判断连接的数据库类型以及对数据表的一些操作system.class.inc.php 1 <?php 2 class ConnDB 3 { 4 var $dbtype; 5 var $host; 6 var $user; 7 var $pwd; 8 var $dbname; 9 ...
阅读全文
摘要:index.php 1 <html> 2 <head> 3 <title>在PHP中应用AJAX技术检测用户名</title> 4 <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 5 <style type="text/css"> 6 <!-- 7 body { 8 margin-bottom: 0px; 9 background-color: #64284A; 10
阅读全文