优惠码:CJCTLD749
7.69美金/个
优惠码:CJCTLD749
7.69美金/个
从10月29日中午, 陆续接到网友反应, godaddy.com 无法访问了
经过笔者的和几个国外朋友验证.确认再次被国内和谐了, 离上次被和谐不到2个月的时间.
笔者自己也有很多域名在godaddy, https://mya.godaddy.com 这个地址还是可以正常访问,但速度很慢
看来这次电信是真的和GoDaddy扛上了.
解决办法:
在要插入的中文字符的引号前加N
如:
insert into theme(name,about) values(’pusu’,’ 美国主机专家’);
而要想在英文版的sql server中不乱码,就必须
insert into theme(name,about) values(’pusu’,N’ 美国主机专家’);
由于GoDaddy的windows主机不支持jmail组件,但可以使用CDONTS.NewMail组件替代来发送邮件, 具体写法如下:
‘ Set the mail server configuration
Set objConfig=CreateObject(”CDO.Configuration”)
objConfig.Fields.Item(sendUrl)=2 ‘ cdoSendUsingPort
objConfig.Fields.Item(smtpUrl)=”relay-hosting.secureserver.net”
objConfig.Fields.Update
‘ Create and send the mail
Set objMail=CreateObject(”CDO.Message”)
‘ Use the config object created above
Set objMail.Configuration=objConfig
objMail.From=”webmaster@godaddy.com” 这里一定要是GoDaddy提供的邮局,否则发送不了
objMail.To=”xxx@example.com”
objMail.Subject=”subjec”
objMail.TextBody=”body”
objMail.Send
Response.Write “邮件发送成功!”
if Err <> 0 then
response.write “<font color=ff0000>”&Err.Description&”</font>”
response.end
end if
%>