登录

用户名:

密码:

文档分类

  • CF基础(21)
  • CF高级技巧(24)
  • CFLib Tag(27)
  •  
    coldfusion 计算文件md5值
    作者:89952392
    发布时间:Mon, 06/15/2009

    <cfset thisDirectory = ExpandPath("#PATH_TRANSLATED#")>
    <cffile action="readbinary" file="#PATH_TRANSLATED#" variable="myBinaryFile">
    阅读全文>>

    最后更新:Mon, 06/15/2009
    ArrayFind(arrayToSearch, valueToFind)
    作者:nsr131421
    发布时间:Tue, 04/17/2007

    此方法判断一个变量是否在指定数组中存在,如果存在则返回该数组下标值,否则返回0。
    <cfscript>
    /**
     * Like listFind(), except with an array.
     *
     * @param arrayToSearch   The array to searc ...阅读全文>>
    最后更新:Tue, 04/17/2007

     
    TypeOf(x)
    作者:nsr131421
    发布时间:Tue, 04/17/2007

    返回变量的类型

    <cfscript>
    /**
     * Returns the type of the variable.
     * Made it cf5/mx compat with use of getFunctionList
     *
     * @param x   The ...阅读全文>>
    最后更新:Tue, 04/17/2007