作者: 码匠
javascript验证邮箱
1 2 3 4 5 6 7 8 9 10 11 12 |
function chekemail(email) { var pattern = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/; if(pattern.test(email)) { return true; } else { return false; } } |
dedecms使用SQLyog工具导出数据的sql文件再导入数据库时报错:mysql 导入数据库错误#1064 – You have an error in your SQL syntax
每次做dedecms数据库迁移时总是忘了怎么解决这么错误的,这次记录...
错误:Warning: include() [function.include]: open_basedir restriction in effect. File() is not within the allowed path(s)原因及解决办法
一个很奇怪的问题,有关require,include和require...