Ignore my comments above -- silly me! There are functions already within Blitz to get the IP address for you. (Just look in the "Networking" section of the documentation.)
Here's how you get all the IP addresses of the local host (the computer that's running the Blitz program):
(Usually there's only one.)
...and to write it to a file on the web server? I don't know...
Here's how you get all the IP addresses of the local host (the computer that's running the Blitz program):
For i% = 1 To CountHostIPs("") Print DottedIP$(HostIP(i)) Next
(Usually there's only one.)
...and to write it to a file on the web server? I don't know...