Discussion:
How can I get my dinamic IP adress using vfp 7.0
(too old to reply)
R.Bazan
2003-11-07 00:56:05 UTC
Permalink
Hi!!!...

I need help!!!...

How can I get my dinamic IP Adress using vfp 7.0????....

Thanks a lot for your help!!!

Greetings
Fred Taylor
2003-11-07 01:35:32 UTC
Permalink
ox=CREATEOBJECT("mswinsock.winsock")
?ox.localip

Fred
Microsoft Visual FoxPro MVP
Post by R.Bazan
Hi!!!...
I need help!!!...
How can I get my dinamic IP Adress using vfp 7.0????....
Thanks a lot for your help!!!
Greetings
Josh Assing
2003-11-07 04:55:22 UTC
Permalink
that doesn't work if you have a local network and you're dynamic IP is your
dialup...'
Post by Fred Taylor
ox=CREATEOBJECT("mswinsock.winsock")
?ox.localip
Fred
Microsoft Visual FoxPro MVP
Post by R.Bazan
Hi!!!...
I need help!!!...
How can I get my dinamic IP Adress using vfp 7.0????....
Thanks a lot for your help!!!
Greetings
Matthias Kahlert
2003-11-08 21:06:24 UTC
Permalink
Post by R.Bazan
How can I get my dinamic IP Adress using vfp 7.0????....
Just create a simple webpage with PHP or Perl that simply prints the IP
address of the client, connect to that page using e.g. wwIPStuff, and fetch
the IP out of the HTML file.

Example:
http://www.max-pro.de/getip.php4

<HTML>
<BODY>
<?php
echo $REMOTE_ADDR;
?>
</BODY>
</HTML>
--
Matthias Kahlert
MaxPro Software
http://www.max-pro.de
R.Bazan
2003-11-10 22:36:10 UTC
Permalink
Thank's a lot!!!...

Greetings!!

Loading...