Hello!
How do I write a small code that make so a code is not run if the user is from a specific ip number please?
(To exclude my own hits from the page counter)
Thanks in advance.
$ip = getenv( "REMOTE_ADDR" ); $ip_not = "123.456.789.01"; if( $ip != $ip_not ) { // counter code }
Thanks a lot. 🙂
No problem.