REG
//console.log(weiboRegController); var inputs = document.getElementsByTagName('input'); //console.log(inputs); var data = '{'; var temp = ''; var tempv =''; for(var i=0;i temp = inputs[i].name; tempv = inputs[i].value; if(i>0){ data += ',"'+temp+'":'+'"'+tempv+'"'; }else{ data += '"'+temp+'":'+'"'+tempv+'"'; } // eval('('+'data.'+temp+' = tempv'+')'); } data += '}'; conso......
Magento1.7多语言或多店铺产品URL跳转问题
http://www.chinaz.com/web/2013/0116/289780.shtml 在Magento1.7或 以前的版本中,当你启用多语言或多店铺,并在“系统->配置->Web”里设置Url Options “Add Store Code to Urls”为YES 。这个时候,很多SKU多语言或多店铺的产品URL也会跟关不同的语言或店铺发生变化,直接切换语言或店铺时就会出现404页面。 解决方法: 1、修改文件: /app/code/core/Mage/Core/Model/Url/Rewrite.php 第252行: // $targetUrl = $request->getBaseUrl(). ‘/’ . $this->getRequestPath(); 注释......
让盒子里的图片垂直居中显示
在表格布局还盛行的年代,根本就不存在这种垂直居中的问题,因为表格内部默认是垂直居中的。但是自从非表格布局开始普及了一个,垂直居中的问题就层出 不穷的,有时候人们为了一个小小的垂直居中,还是用了表格去实现它,这太浪费!构造表格需要花费大量的标签,完全没必要。其实元素本身的display就 可以设置成table,因此任何元素都可以实现表格的垂直居中效果。不过这个方法有一个弊端,如果元素使用了浮动,这个方法就会失效,所以我们必须找到更 直接的方法来解决这个问题......
支付失败的提示是:“目前不支持中国账户间的付款”
解决方案: 1.您可以登录paypal账户,看看客户绑定的银行卡是不是完成了确认 。 2.如果您的银行卡没有完成确认,您可以给银行打电话(客服团队很乐于帮助您打电话),向银行要用来确认银行账号的4位代码,然后把4位代码填到中国paypal相应的位置上,完成银行卡的确认。完成银行卡的确认后,您再次尝试支付。 3.如果支付还是失败,您可以给中国的paypal打电话(客服团队很乐于帮助您打电话),向中国的paypal说明情况。 注意 :不要向paypal说支付失败的原因是“目前不支持中国账户间的付款”而是说......
etc/resolv.conf
etc/resolv.conf它的格式很简单,每行以一个关键字开头,后接配置参数。resolv.conf的关键字主要有四个,分别是: nameserver #定义DNS服务器的IP地址 domain #定义本地域名,这个是对域名没有加.的加上域名,即在进行不完全域名解析时,默认的附加域名后缀。 search #定义域名的搜索列表,同上,一般不能跟domain并存 sortlist ......
How To Install and Configure DKIM with Postfix on Debian Wheezy
The frustration of getting falsely flagged as a spammer is not strange to most of the mail server admins. By excluding the possibility of a compromised server, a false flag is usually caused by one of the following: the server is an open mail relay the sender's or server's IP address is blacklisted the server does not have a Fully Qualified Domain Name (FQDN) and a PTR record the Sender Policy Framework (SPF) DNS record is missing or it is misconfigured the DomainKeys Identified Mail (DKIM) implementation is missing or it's not properly set up ......
php command use root
function mycommand($command,$pwd=''){ $descriptorspec = array( 0 => array("pipe", "r"), // 标准输入,子进程从此管道中读取数据 1 => array("pipe", "w"), // 标准输出,子进程向此管道中写入数据 2 => array("file", "/tmp/error-output.txt", "a") // 标准错误,写入到一个文件 ); $currentCommand = 'su ......
ubuntu 重启网络
重启网络 /etc/init.d/networking restart 清除DNS缓存 /etc/init.d/dns-clean start ......
spf 验证
http://www.kitterman.com/spf/validate.html http://mxtoolbox.com/ 可以到以下地址来测试DKIM和SPF服务是否正常: http://www.brandonchecketts.com/emailtest.php http://www.openspf.org/Why?show-form=1 ......
Ftp服务器
FTP服务器是平时应用最为广泛的服务之一。VSFTP是Very Secure FTP的缩写,意指非常安全的FTP服务。VSFTP功能强大,通过结合本地系统的用户认证模块及其多功能的配置项目,可以快速有效的搭建强大的多用户FTP服务。 首先我们考虑搭建FTP服务需要关注的都有哪些方面?比如我们最经常关注的有: 1、如何添加FTP用户? 2、如何临时冻结某FTP用户? 3、FTP用户登入后的默认目录?是否可以改变? 4、如何锁定FTP用户可访问的目录范围? 5、FTP用户可以有哪些访问权限?可否上传文件? 我们将带着这些问题来探讨如何配置VSFTP以达到预定目标......
- Page:8/146 1451 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(751)
- 日志(47)
- 感悟(15)
- testIT(4)
- PHP_XML(5)
- PHP(78)
- 明星(1)
- 笑话(31)
- 毕业论文(2)
- 生活(60)
- HTML(11)
- CSS(6)
- 考研(3)
- JS(21)
- 简历(6)
- svn(3)
- 音乐(1)
- 学习(7)
- jQuery(9)
- 英语口语(9)
- 书籍(2)
- magento(258)
- apache(12)
- 创意(4)
- 设计(4)
- 休闲(1)
- IT咨询(11)
- 工作(23)
- ubuntu(21)
- bysoft(1)
- zend(1)
- web(2)
- software(1)
- sql(5)
- 娱乐(5)
- photoshop(3)
- zend framework(2)
- nginx(3)
- 小说(1)
- 名言(1)
- 牛人(1)
- Mysql(6)
- vim(2)
- wordpress(8)
- drupal(1)