>- see footer for list info -<
Assuming MX,
<cfset inet=createObject('java', 'java.net.InetAddress')>
<cfset inet=inet.getLocalHost()>
<cfoutput>#inet.getHostName()#</cfoutput>
Andy
Quoting Aidan Whitehall <[EMAIL PROTECTED]>:
> >- see footer for list info -<
> Does anyone know how to retrieve a server's name from within CF?
>
> By that, I mean the name assigned to the machine in "My Computer | Properties
> | Computer Name tab | Change | computer name field.
>
>
> Thanks
>
> --
> Aidan Whitehall
> Macromedia ColdFusion Developer
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>
--
[EMAIL PROTECTED]
www.creative-restraint.co.uk
www.scottishcfug.com
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<