Is there a ColdFusion equivalent of phpinfo()
Is there a ColdFusion equivalent of phpinfo()? I don't know much about ColdFusion except that our university se开发者_如何学编程rvers support it. I basically just want to know what version we are running.
According to Checking The ColdFusion Version:
Checking your ColdFusion version could not be easier. All you have to do is dump out the SERVER scope. The version of ColdFusion is contained in a field titled "ColdFusion.ProductVersion." You should see a number like 7,0,1,116466. Additionally, the type license type of the system (ex. enterprise, developer, etc.) is in a field titled "ColdFusion.ProductLevel."
And there is also a code sample:
<!--- Dump out the server scope. --->
<cfdump var="#SERVER#" />
<!--- Store the ColdFusion version. --->
<cfset strVersion = SERVER.ColdFusion.ProductVersion />
<!--- Store the ColdFusion level. --->
<cfset strLevel = SERVER.ColdFusion.ProductLevel />
If you have access to your server's ColdFusion Administrator, this and more is also available under System Information. Log in and click white "i" in the blue circle in the upper right corner of the window.
An easier method would be navigating to the ColdFusion administrator page
Http:///CFIDE/administrator/index.cfm
You would be able to see the version you are running in that screen.
精彩评论