我自己有一段ASP代码。为什么放上科讯会没用?
if MERCHANTID<>"" then MACBLOCK=MERCHANTID
if TYP<>"" then MACBLOCK=MACBLOCK&" "&TYP
if PAYTYPE<>"" then MACBLOCK=MACBLOCK&" "&PAYTYPE
if ORDERID<>"" then MACBLOCK=MACBLOCK&" "&ORDERID
if MERORDERID<>"" then MACBLOCK=MACBLOCK&" "&MERORDERID
if AMOUNT<>"" then MACBLOCK=MACBLOCK&" "&AMOUNT
if ACCOUNTNO<>"" then MACBLOCK=MACBLOCK&" "&ACCOUNTNO
if TERMINALNO<>"" then MACBLOCK=MACBLOCK&" "&TERMINALNO
if SEQUENCENO<>"" then MACBLOCK=MACBLOCK&" "&SEQUENCENO
if SERIALNO<>"" then MACBLOCK=MACBLOCK&" "&SERIALNO
if TRANSTIME<>"" then MACBLOCK=MACBLOCK&" "&TRANSTIME
if RESULT<>"" then MACBLOCK=MACBLOCK&" "&RESULT
if SETTLEDATE<>"" then MACBLOCK=MACBLOCK&" "&SETTLEDATE
if ORDERSTATE<>"" then MACBLOCK=MACBLOCK&" "&ORDERSTATE
if REFERENCE<>"" then MACBLOCK=MACBLOCK&" "&REFERENCE
MACBLOCK=MACBLOCK&" "&key
MAC = MD5(MACBLOCK)
这是其中的一代!
我试过自定义静态标签,没用!也试过直接放在科讯的内容页里面也不行。要放那里??
我想到这段代码应用到内容页里