Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Feet2Cold #1
Displaying IP address of a target machine
I've searched for IP, ping, display address and do not come up with anything.
I have a cold fusion page that currently displays the static IP of my
workstation. It is href'd with callto://[IP] where [IP} is my IP.
Unfortunately, recently the DHCP servers in my building have been having
problems causing my IP to change frequenlty. I use the above "callto" for
users to launch Net Meeting for weekly sessions I conduct. How do I code to
ping my machine name and return live/current IP of my workstation to the
webpage so that users always have a correct link to click?
Feet2Cold Guest
-
filecopy from remote machine to local machine
Hi, I am tryin to copy a tar file from remote machine to local machine using Net:Telnet. I am using the following logic : my(@Out) =... -
login that accesses remopte db wont work on that machine but works while on my local machine????!! HELP!
I knocked up a simple login for a CMS for one of my sites.... now itr will work fine and authemticate with data on the online server by the IP... -
Subform not displaying correctly on one machine
We have several people who use an Access 2002 database, but one of them receives the following error: "The expression is typed incorrectly, or is... -
Getting files from a Win 2000 machine to a Windows XP machine
Hi. I've just bought a machine with Windows XP Pro on it and want tto transfer several thousand files from my Win2000 laptop. The laptop has a LAN... -
How to duplicate whole database from one machine to another machine in Windows 2000?
Would you please what files I have to copy? Thanks. "Ban Spam" <ban-spam@operamail.com> wrote in message... -
-
sillyworm #3
Re: Displaying IP address of a target machine
[url]http://www.cflib.org/udf.cfm?ID=1003[/url], it should resolve your issue.
Check out the rest of the site too, these guys are fantastic IMO.
sillyworm Guest
-
Mr Black #4
Re: Displaying IP address of a target machine
So, your workstation is not running CF, but you want CF server to display your
current IP? If this is the case, you need to execute a DNS name (of your
workstation) resolution procedure on the page that displays your IP. Some tags
available for this. One of them below:
[url]http://www.cftagstore.com/tags/cfxexec.cfm[/url]
Mr Black Guest
-
philh #5
Re: Displaying IP address of a target machine
Explain the situation to your network administrator, and have him assign your machine a static IP.
philh Guest
-
Feet2Cold #6
Re: Displaying IP address of a target machine
:D
In a small or medium company that might work. I work in a building of about 7
thousand people (recently pruned from 9K). We are considered a "satellite"
office. A Static IP request was submitted. Server Admin laughed. I
understand. I used to work with them.
Feet2Cold Guest
-
Feet2Cold #7
Re: Displaying IP address of a target machine
Sillyworm & Mr Black:
thanks for the leads, but purchasing add-ons would be only the first hurdle.
My company is in a "save money" mode. The 2nd hurdle would be getting a waiver
for non-standard software--like pulling teeth.
Feet2Cold Guest
-
sillyworm #8
Re: Displaying IP address of a target machine
Feet, Please take a look at my post again, the function I pointed you to, is
completely free, and open source. I would never point you to any overpriced tag
or function while a reasonable solution is available. I?d rather try to write
the code for you than have you spend $ on a problem like this.
sillyworm Guest
-
Mr Black #9
Re: Displaying IP address of a target machine
Well, non-standard tasks require non-standard (is CF is 'standard'?) tools. As
about reference submitted by Worm (silly, btw). That UDF returns (maybe, if
CreateObject works, Java works, etc.) the IP for the local machine. The task
is to find the current IP of a non-local and non-server machine.
Mr Black Guest
-
philh #10
Re: Displaying IP address of a target machine
Feet2Cold, Yow. I sympathize. I take it DNS entries are out of the question
also. Hey, how about that? Have your server run a ping on your UNC and parse
the STDOUT for the IP. Or something like that.
philh Guest
-
anclarke #11
Re: Displaying IP address of a target machine
I'm not sure what your problem is (haha). Seriously, OK it sounds like you
have ColdFusion server running on another computer, with a page on it with an
href to your IP, which changes often? You don't have ColdFusion server on your
computer, and want to know how to get the server to recognize when your IP has
changed and change the link accordingly. Is that correct? If so, I'd say you
have two basic options. One is to have a page on the server you hit with your
web browser. That page would read your IP, then store it in a database, flat
file, application variable or something on the server. Then the page that
shows the hyperlink would read that location from wherever you stored it so
that it could dynamically display your IP. The second option is to basically
do the same thing, but automate the pinging of the server. There are a whole
bunch of tools for doing this sort of thing with services like dyndns.org and
maybe you could repurpose some of the code. You could also run a cron job or
something (or at in windows although I've never used that) that ran a perl
script or something else you're familiar with, to ping the web server. In unix
this would be very easy: create a cron script that runs wget against your
server's test page. Have it run every 10 minutes or whatever and presto, your
server always is <= 10 minutes behind on your current IP. - Andrew.
anclarke Guest
-
vaengaivenkat #12
Re: Displaying IP address of a target machine
contact the service provider I means ISP ONCE TO FIX THIS....
Junior Member
- Join Date
- May 2011
- Location
- INDIA
- Posts
- 3



Reply With Quote

