如何在星外虛擬主機管理系統(tǒng)中使用網(wǎng)維互聯(lián)API域名注冊接口
如何在星外虛擬主機管理系統(tǒng)中使用網(wǎng)維互聯(lián)API 域名注冊接口(v111212版)方法一:將以下代碼保存為 wvid c.asp ; 復(fù)制到星外虛擬主機管理系統(tǒng)主控網(wǎng)站目錄下, 訪問按提示設(shè)置。設(shè)置后請
如何在星外虛擬主機管理系統(tǒng)中使用網(wǎng)維互聯(lián)API 域名注冊接口(v111212版)
方法一:將以下代碼保存為 wvid c.asp ; 復(fù)制到星外虛擬主機管理系統(tǒng)主控網(wǎng)站目錄下, 訪問按提示設(shè)置。設(shè)置后請刪除該文件!
以下是引用片段:
server.ScriptTimeout =3600 Set conn=Server.CreateObject("ADODB.Connection") conn.Open Application("FreeHostDBlink") Sql="ALTER TABLE FreeHost.FreeHost_System_Info ALTER column Domain_Agent_password_6 varchar(32) null" conn.Execute Sql if > request.Form("Domain_Agent_username_6")="" and request.Form("Domain_Agent_password_6")="" then 歡迎使用星外虛擬主機管理平臺域名接口設(shè)置程序.....
請輸入您在網(wǎng)維互聯(lián)注冊的用戶名:
登陸密碼:
<
end if
if request.Form("Domain_Agent_username_6")<>"" and request.Form("Domain_Agent_password_6")<>"" then
Domain_Agent_username_6=LCase(request.Form("Domain_Agent_username_6"))
Domain_Agent_password_6=right(md5(request.Form("Domain_Agent_password_6")),8)
Sql="update FreeHost.FreeHost_System_Info set Domain_Agent_username_6='"&Domain_Agent_username_6&"',Domain_Agent_password_6='"&Domain_Agent_password_6&"',Domain_Agent_url_6='http://www.wvid c.com',api6=1,showapi6=1 where id=0"
conn.Execute Sql
response.write "恭喜您, 域名接口設(shè)置成功!
"
response.write " 為了安全建議您刪除該文件(升級后該文件可能會自動刪除)!"
url = Request.ServerVariables("SCRIPT_NAME")
urlParts = Split(url,"/")
pageName = urlParts(UBound(urlParts))
response.Write pageName
wvid c=Server.MapPath(pageName)
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists(wvidc) Then
,fso.Del etefile(wvidc)
End If
Set fso = Nothing
end if
>
方法二:登陸您的主控網(wǎng)站后臺, 在左側(cè)站點管理——系統(tǒng)參數(shù)——兼容新網(wǎng)的API 的接口中;
代理用戶名填寫您在www.wvidc.com 注冊的用戶名; 代理密 碼填寫您注冊的密碼MD5加密后8位(32位小寫);API 網(wǎng)址填寫http://www.wvidc.com 執(zhí)行保存即可。
* 特別提醒:注冊域名需閱讀并同意《國際域名在線注冊服務(wù)條款》根據(jù)ICANN 的相關(guān)規(guī)定, 如果因為您的域名信息不真實、不準確、不完整, 或者您利用域名進行發(fā)送垃圾郵件等不正當(dāng)行為, 您的域名將被注銷或關(guān)閉!