Does anyone know a quick and easy way I can get a visitor’s IP address?
My utopia would be a simple call I could make from html or javascript to, say, php on the server which would then return a value into a JavaScript variable.
Note that I tried
<server>
var ip=request.ip
</server>
but a) I barely understand client-side javascript, so it’s fair to assume I got the server side code/syntax completely wrong
and b) I am not sure if my host provider allows me to run server-side java scripting.
Does anyone have a simple solution?
Thanks
IB
ps… vis-a-vis the posts today about doing a search before posting a question… on this, I’d love to, except that “ip” is less than the mandatory 4 characters.