Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Robin Hilliard
On 12/08/2010, at 2:34 PM, Seona Bellamy wrote: cffunction name=downTree hint=Returns the details of everything needed to make an item access=public returntype=array output=no cfargument name=aItems type=array required=no default= cfscript var result =

Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Robin Hilliard
On 12/08/2010, at 4:18 PM, Robin Hilliard wrote: structFindValue(returnValue[id], , all) to get an array of all the keys under a branch of the result. Ah it's not quite right, when you first create a key in stDependencies you should set it to , and only replace it with a struct if something

Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Sean Corfield
On Wed, Aug 11, 2010 at 9:34 PM, Seona Bellamy seon...@gmail.com wrote:     cffunction name=downTree hint=Returns the details of everything needed to make an item access=public returntype=array output=no         cfargument name=aItems type=array required=no default=        ...                

[cfaussie] Re: Security update: Hotfix available for ColdFusion

2010-08-12 Thread Andrew
Thanks Guys. I would have been unaware of this had it not been for the cfaussie list. Is there an official announcements list I can join? Regards, Andrew. On Aug 12, 10:52 am, charlie arehart charlie_li...@carehart.org wrote: Well, no, because that would then expose to bad guys how they could

Re: [cfaussie] Re: Security update: Hotfix available for ColdFusion

2010-08-12 Thread Sean Corfield
On Wed, Aug 11, 2010 at 11:38 PM, Andrew am2...@gmail.com wrote: Thanks Guys.  I would have been unaware of this had it not been for the cfaussie list. Is there an official announcements list I can join? Yes, you can sign up for notifications from this page:

Re: [cfaussie] Re: Security update: Hotfix available for ColdFusion

2010-08-12 Thread Gavin Beau Baumanis
Hi Andrew, There is a link for signing up for email notification here; http://www.adobe.com/support/security/ Gavin Beau Baumanis On 12/08/2010, at 4:38 PM, Andrew wrote: Thanks Guys. I would have been unaware of this had it not been for the cfaussie list. Is there an official

Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Seona Bellamy
On 12 August 2010 16:27, Sean Corfield seancorfi...@gmail.com wrote: On Wed, Aug 11, 2010 at 9:34 PM, Seona Bellamy seon...@gmail.com wrote: cffunction name=downTree hint=Returns the details of everything needed to make an item access=public returntype=array output=no

[cfaussie] getting server name of server

2010-08-12 Thread BarryC
Hi, We have several servers in a cluster, but I am wondering how to get the name of the server that a script happens to be running on, there is nothing in the cgi variable, are there any system level functions coldfusion has (I couldn't find any), or is there a way to call native functions to get

[cfaussie] Re: getting server name of server

2010-08-12 Thread BarryC
No matter! I have found the answer; Createobject('java','java.net.InetAddress').getLocalHost().getHostName() I knew I'd find it as soon as I posted on here :) On Aug 13, 3:21 pm, BarryC barrychester...@gmail.com wrote: Hi, We have several servers in a cluster, but I am wondering how to get

Re: [cfaussie] Re: getting server name of server

2010-08-12 Thread Brett Payne-Rhodes
I was going to suggest the cgi variables - http_host and server_name but a little bit of testing shows that these are related to the URL rather than the name of the physical machine which is what you want given the solution below. Thanks, could be very useful... B) On Fri, Aug 13, 2010 at