摘要:
$html = str_replace('', '&nbsp;', $html); $html = str_replace('>', '&gt;', $html); $html = str_replace('<', '&lt;', $html); 阅读全文
摘要:
(1)进入MongoDB下载中心:http://www.mongodb.org/downloadsWe recommend using these binary distributions (官方推荐使用二进制版本!)(2)根据自己的实际系统环境,下载所要的文件,我的是Linux 64-bit.wg... 阅读全文
摘要:
只需将启动的命令写入/etc/rc.local如让mongodb开机自启动:echo "/usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data/db --logpath=/usr/local/mongodb/logs/mongod... 阅读全文
摘要:
$('#reset').click(function(){ $('#info_frm')[0].reset();}); 阅读全文
摘要:
mysqldump导入导出数据库总结基本的使用方法总结:1 导出所有库 系统命令行 mysqldump -uusername -ppassword --all-databases > all.sql 2 导入所有库 mysql命令行 mysql>source all.sql; 3 导出某些库 系... 阅读全文
摘要:
说明: 阅读全文
摘要:
1.nginx配置网站目录并修改访问的端口:nginx.conf文件listen 666;//端口默认为80,修改后增强安全性 server_name www.lnmp.org; index index.html index.htm ind... 阅读全文
摘要:
1.方法一:2.方法2://生成16位的串$randLength=6;$chars='abcdefghijklmnopqrstuvwxyz';$len=strlen($chars);$randStr='';for ($i=0;$i<$randLength;$i++){ $randStr.=$ch... 阅读全文