July 19, 2008
For ColdFusion hosting try HostMySite.com. |
Home /
Groups /
ColdFusion Talk (CF-Talk)
SERVER IP Address
What is the variable for your server IP address. Is it a CGI Variable? IPEREZ, RICHARD D (SBCSI) 08/02/01 07:20 P I think it's cgi.http_host. cgi.server_name returns the IP if name's notBrad Roberts 08/02/01 10:06 P
Author: PEREZ, RICHARD D (SBCSI)
What is the variable for your server IP address. Is it a CGI Variable? I know for remote it is CGI.REMOTE_ADDR but what about for your own server. I can get the CGI.SERVER_NAME but the MIMEATTACH on the CFMAIL can only accept the IP address... i don't know why. Please help. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority. com/bkinfo.cfm
Author: Brad Roberts
I think it's cgi.http_host. cgi.server_name returns the IP if name's not resolved. Turn on debugging in Administrator and it will list all of the cgi var's. What is the variable for your server IP address. Is it a CGI Variable? I know for remote it is CGI.REMOTE_ADDR but what about for your own server. I can get the CGI.SERVER_NAME but the MIMEATTACH on the CFMAIL can only accept the IP address... i don't know why. Please help. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority. com/bkinfo.cfm
|
Mailing Lists
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||