return.asp 718 B

12345678910111213141516171819202122232425262728
  1. <!--#include file="asp_md5.asp"-->
  2. <!--#include file="config.asp"-->
  3. <%
  4. require_once 'inc.php';
  5. status =trim(request("status"))
  6. customerid =trim(request("customerid"))
  7. sdorderno =trim(request("sdorderno"))
  8. total_fee =trim(request("total_fee"))
  9. paytype =trim(request("paytype"))
  10. sdpayno =trim(request("sdpayno"))
  11. remark =trim(request("remark"))
  12. sign =trim(request("sign"))
  13. mysign=md5("customerid="&customerid&"&status="&status&"&sdpayno="&sdpayno&"&sdorderno="&sdorderno&"&total_fee="&total_fee&"&paytype="&paytype&"&"&userkey)
  14. if sign = mysign then
  15. if status= '1' then
  16. response.wirte "success"
  17. else
  18. response.wirte "fail"
  19. end if
  20. else
  21. response.wirte "signerr"
  22. end if
  23. %>