Duplicate Snippet
Embed Snippet on Your Site
Storing User’s Uncached IP Address in Hidden Field
This snippet lets you capture and store the user's IP address in the Hidden field. It modifies the default behavior of the {user_ip} Smart Tag to ensure the IP address is captured at the exact location and not a cached version.
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments