[SOLVED] How to restore user IP address on a Silent Post Form Submission?

Your software
My Mautic version is: v4.4.8
My PHP version is: v8.0.28
My Database type and version is: MariaDB 10.4

Your problem
My problem is:

When using the silent post method to capture a new subscriber, the IP of the web server is recorded as the subscriber IP.

I see Mautic is taking the headers and extracting REMOTE_ADDR as the IP address.

What options do I have to restore the true IP address of the subscriber? Is there a form field I can use to override, or do I have to figure out some kind of complicated header re-write?

Thanks to artificial intelligence technologies I’ve figured out a solution to restore a clients IP upon form submission using the silent post method.

If you’re running Joomla with RSForm! you can use a custom header using:

X-Forward-For = {global:userip}


This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.