300+ free video programming tutorials ― Learn for free!
Category: PHP - Author: Karl Hadwen
Did you find this video helpful? If so, why not subscribe!? ? http://bit.ly/CognitiveSurge
In this video I'll be showing you how to get a user's IP address, but not just by using $_SERVER["REMOTE_ADDR"], I'll using a numerous amount of cases to try get around people using a proxy. Make sure you don't just copy and paste this code as we need to validate the IP address (I show you how in the next video). If we don't validate the IP address we're leaving our application over to hackers.
Like the Cognitive Surge Facebook page
Follow me on Twitter (Feel free to tweet me questions!)
Join the Cognitive Surge Subreddit
Follow me on Instagram
Follow me on Goodreads