NTDLR's method should work.. The hack is compatible with ALL variables in the memory so if I guess $HTTP_SERVER_VARS[REMOTE_ADDR] will work..
Also vb saves user's IP address in "$ipaddress" variable in global.php, so $ipaddress should work too.
However I'm sure you are well aware that IP address is not a good mainstay for conditionals since many users have dynamic IP.
|