真无聊,为什么要用asp用php更好

解决方案 »

  1.   

    http://expert.csdn.net/Expert/TopicView1.asp?id=2275393
      

  2.   

    sorry, i don't know, up for you.
      

  3.   

    maybe you can try to run php codes and see the results, then write it yourself by asp.
      

  4.   

    随便说一句,这里主要是函数,而函数主要的是思路,现在思路已经有了,为什么不用asp自己写函数呢??
    Function LeadingZero($val_num, $count) {

    $str = (string)$val_num;
    For ($i = strlen($str); $i == ($count -1); $i ++) {
    $str = "0" . $str;
    }
    return ($str);
    }
    fuction LeadingZero(val_num,count)
    dim str,i,
    str = cstr(val_num)
    for i = strlen(str) to count - 1
    str = "0" & str
    next
    return str
    end fuction