Subj : Getting IP Address
To : Mortifis
From : echicken
Date : Mon Jan 21 2019 03:24 pm
Re: Getting IP Address
By: Mortifis to All on Mon Jan 21 2019 15:45:03
Mo> In the /web/root/index.ssjs I would like to grab the connecting user's IP
You can get it from http_request.remote_ip or client.ip_address, and these
probably have the same value.
Mo> address and pass it along to a system.open("script ip_add") as an argv but
system.exec('/path/to/script ' + http_request.remote_ip);
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com