随笔分类 - php
摘要:今天用yum方法搭建起了个LAMP环境,中间遇到了很多问题,经过google和各位前辈的帮助,终于将环境搭建起来,现在把完整的步骤记录下来,1. 换源,sohu的相当好用。1.1备份CentOS-Base.repocd /etc/yum.repos.d/ cp CentOS-Base.repo CentOS-Base.repo.bak 1.2替换源用vi打开CentOS-Base.repo,并将内...
阅读全文
摘要:<? function get_td_array($table) { $table = preg_replace("'<table[^>]*?>'si","",$table); $table = preg_replace("'<tr[^>]*?>'si","",$table); $table = preg_replace("'<td[^>]*?...
阅读全文
摘要:function xml2array($originalXML, $attributes=true) { $xmlArray = array(); $search = $attributes ? '|<((\S+)(.*))\s*>(.*)</\2>|Ums' : '|<((\S+)()).*>(.*)</\2>|Ums'; // normalize...
阅读全文
摘要:自己搞好了,参考了一下其他的发邮件的类。希望对大家以后有帮助啦,现在总结一下,有东西大家分享^_^问题:用mail()函数发送的,$mailsuccess=mail($to, $subject, $message, $headers);$subject是邮件标题,$message是内容,$headers是头文件信息$message内容的乱码,我是通过发送html的形式来指定页面编码来解决的,met...
阅读全文
摘要:在{X}:\Documents andSettings\{User}\ZDE\config_5.{x}\desktop_options.xml文件中将en改为zh,重启zend后就可以了
阅读全文
浙公网安备 33010602011771号