Navigation | Archive » 2008 » June

June 27, 2008

CFDBinfo — What can you see?

A month or so ago I had to throw together a script to help with some forensics, it strikes me that it might come in handy for other people, so I'm going to post it here. Just edit the first bit and provide it with your datasource name, and run it. You might need to [...]

Filed by JC at June 27th, 2008 under ColdFusion
No comments on this post yet

June 4, 2008

Assorted Coldfusion stuff I need occasionally and always forget.

I keep this in a file on my desktop.. may as well put it here, too… maybe it'll help someone someday. CRLF: cfset crlf = #chr(13)#&#chr(10)# Variable Variables: cfset varvar = "MyVarName" cfset "#varvar#" = "whatever" #evaluate(varvar)# outputs "whatever", #varvar# outputs "MyVarName" Existence/Type Test: StructKeyExists() IsDefined() (isDefined fails on complex vars with[], use dot notation) [...]

Filed by JC at June 4th, 2008 under ColdFusion, Web Stats
3 persons have commented this post