摘要:
header('content-type:text/html;charset=utf-8');move_uploaded_file(file,newloc) :若成功则返回true否则false。copy(file,newloc) : 若成功则返回true ,否则false。strtolower(s... 阅读全文
摘要:
来自:http://www.cnblogs.com/crazyyeluo/p/4245231.htmlPHP中的常用正则表达式集锦: 匹配中文字符的正则表达式: [\u4e00-\u9fa5] 评注:匹配中文还真是个头疼的事,有了这个表达式就好办了 匹配双字节字符(包括汉字在内):[^\x... 阅读全文
摘要:
log.html Home Page login.phpquery($query); if ($result->num_rows) { $_SESSION['name']=... 阅读全文