What version of CFMX is my host running?

Macromedia ColdFusion MX Version Analysis:

<cfscript>
    versinfo = arraynew(1);
    versinfo[1] = structnew();
    versinfo[1].name = "the base version, with no updater";
    versinfo[1].number = 48097;
    versinfo[2] = structnew();
    versinfo[2].name = "Updater 1";
    versinfo[2].number = 52311;
    versinfo[3] = structnew();
    versinfo[3].name = "Updater 2";
    versinfo[3].number = 55693;
    versinfo[4] = structnew();
    versinfo[4].name = "Updater 3";
    versinfo[4].number = 58500;
    curversion = listlast(Server.ColdFusion.ProductVersion);
</cfscript>

<cfoutput>
    <p>This server is running <b>#Server.ColdFusion.ProductName#, #server.coldfusion.ProductLevel#</b>

    <cfif left(Server.ColdFusion.ProductVersion,5) is "6,0,0">
        <p>Which means it?s running with
        <cfif server.coldfusion.appserver is "j2ee" and curversion is 58096>
            &nbsp;Updater 3 on ColdFusion MX for J2EE.
        <cfelse>
            <cfloop from="1" to="#arraylen(versinfo)#" index="i">
            <cfif curversion eq versinfo[i].number>

                <b>#versinfo[i].name#</b>.
                <cfbreak>
            <cfelseif curversion lt versinfo[i].number>
                <b>patches not yet up to the final release of
                #versinfo[i].name#</b>
                <cfbreak>
            <cfelseif i is arraylen(versinfo)>

                a version <b>greater than the final release of
                #versinfo[arraylen(versinfo)].name#</b>.
                This tool has not been updated yet to recognise that
                version number.
            </cfif>
            </cfloop>
        </cfif>
    <cfelse>
    </cfif>

    <p>There are updaters for CFMX available at http://www.macromedia.com/software/coldfusion/special/updater/faq/.
</cfoutput>

All ColdFusion Tutorials By Author: Peter Tilbrook
  • Password encryption for increased security using keys
    You might have already noticed that even database servers like Microsoft's SQL Server 2000 have no method of hiding even password fields from prying eyes. Instead passwords are stored as plain text. Not good. Even Microsoft Access provides a way to mask fileds you would prefer not to be easily read. Not so SQL Server - and probably quite a few other database servers suffer the same issue. This is easily rectified however using two handy functions built-in to ColdFusion, from at at least version 5.0 and above (I think they were in 4.x also). I've developed the following code using CFMX updated 3.
    Author: Peter Tilbrook
    Views: 37,165
    Posted Date: Monday, April 14, 2003
  • What version of CFMX is my host running?
    As of writing this there are four flavours of CFMX, for Windows at least, floating about. You may know what version YOU are running but what about your hosting provider? Run the code below to find out.
    Author: Peter Tilbrook
    Views: 15,341
    Posted Date: Wednesday, May 7, 2003
  • Why have my CFFORM's suddenly broken - using CFFORM in a hosted environment
    If you are using the CFFORM tag in a shared hosting environment, and why wouldn't you as CF form elements can be very useful, you may now be receiving obscure JavaScript errors when your form loads. Never fear, the solution is a simple fix to an annoying problem
    Author: Peter Tilbrook
    Views: 22,337
    Posted Date: Tuesday, July 8, 2003
  • Getting Coldfusion Server Metrics
    The often forgotten function GetMetricData() function returns the same info as the cfstat utility.
    Author: Peter Tilbrook
    Views: 12,182
    Posted Date: Thursday, June 3, 2004
  • Getting the TimeZone name
    CFML's function GetTimeZoneInfo will give you timezone offsets, and day light savings time information, but if you want the name of the timezone your ColdFusion server is in you can use java's TimeZone class.
    Author: Peter Tilbrook
    Views: 12,696
    Posted Date: Thursday, June 3, 2004
Download the EasyCFM.COM Browser Toolbar!