Does anyone know how to use the ADDT function to get a visitors IP address when submitting a form on your site?
For example each time someone logs in to a member / restricted area using login details "Providing the history tab is used" it stores the IP address of the member / visitor to the history table.
I need to simple get the users IP address when they submit a form when they are not a member or logged in the to members area.
Gunter if you answer this... Thank you in advance and I owe you more beer. LOL
fortunately it´s not rocket science -- $_SERVER["REMOTE_ADDR"] is how PHP will retrieve the visitor´s IP address, and once you assign this variable to e.g. a custom Session Variable, it´s easy to store the corresponding value in a database table.