Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
thewolf #1
DNS query with ColdFusion
Hi all,
I need to make a DNS query from within ColdFusion MX 6.1 to figure out the
Active Directories servers for a domain name (TXT records) .
I am looking for some example code to do that using the underlying Java
classes.
Any link?
Thanks a lot.
thewolf Guest
-
Coldfusion to create a PDF file from a query
I use Coldfusion to create a PDF file from a query. Everything works fine, except that my PDF file only shows the first record from my query. If I... -
Coldfusion MX 6.1 Query of Queries issue
does any1 know if mx7 has fixed the query of queries runtime error issue which became apparant in mx6.1, where ColdFusion seemed not able to... -
ColdFusion+cfquery+Oracle+CLOB+"Query of Query"
Error message is: Query Of Queries runtime error. Unsupported SQL type "java.sql.Types.CLOB". My database table: RESMIGAZETEFIHRISTI: ... -
Coldfusion Tags in a Query Result...
I have a query that returns a bunch of html code from a database. This populates the contents of my page. I would like to add some coldfusion tags... -
Coldfusion Query to WDDX problem
I have a cfusion created query that holds all my basket info. I need to pass this basket to a secure server (shard cert) via http. The concept... -
MikerRoo #2
Re: SQL - Syntax Error in valid sql, but only in CF?
Attached is a function that works on all MX versions, i believe.
Courtesy of BF.
<cfscript>
/**
* Performs a DNS lookup on an IP address.
*
* @param address IP address to look up.
* @return Returns a domain name.
* @author Ben Forta (ben@forta.com)
* @version 1, December 19, 2001
*/
function GetHostName(address) {
// Variables
var iaclass="";
var addr="";
// Init class
iaclass=CreateObject("java", "java.net.InetAddress");
// Get address
addr=iaclass.getByName(address);
// Return the name
return addr.getHostName();
}
</cfscript>
MikerRoo Guest



Reply With Quote

