I am trying to provide users of the local network with the ability to "register" using Network admin (me) without the need: a) to host the page on my computer; b) host the script on a central server (since it is just a router, not a very reliable HTTP server) or c) register in a dynamic domain for any of the first two and avoid the confusion of sending the URL to the link to the local IP address.
Is there an easy way to display the local IP address on the screen using the client side of the script? I think maybe I can have an iframe that points to some kind of shared URL with some javascript in the way, so that I can get users to go to a non-local site, and the iframe will appear with their IP address, which they then can enter the form on the main remote page.
If all else fails, is there a way to find their IP address that is cross-platform and does not include using the command line (I think the former, even if this is not possible, is probably more realistic than the latter).
source
share