How to get visitor IP address [duplicate]

157
November 17, 2018, at 3:30 PM

This question already has an answer here:

  • How to get the client IP address in PHP? 23 answers
  • How to get Real IP from Visitor? [duplicate] 10 answers

As Title, i'd need to get the ip address from a page view. No form, no opt-in: just get it on page load and save somewhere (or get it via email) What can i do?

Rent Charter Buses Company
READ ALSO
preg_match() fails with No ending delimiter '+' [on hold]

preg_match() fails with No ending delimiter '+' [on hold]

The example below never returns 1:

131
Shopify Order API call Interval

Shopify Order API call Interval

I have integrated Shopify Order APIReference Link

186
Generate dynamic arguments in php

Generate dynamic arguments in php

I have to call function test($arg1,$arg2) {echo $arg1;echo $arg2;}

112
Error: mysql temporary table does not exists in included file

Error: mysql temporary table does not exists in included file

In the documentation it says that the temporary table will be available as long as the connection to the database is not closed in the same session

155