Here’s a simple PHP function that allows you to target a specified IP address, and can therefore be used to show certain information to the developer or developing team…
Replace 123.456.78.90 with your real IP address…
// Only show to the ip address 123.456.78.90 if($_SERVER['REMOTE_ADDR']=='123.456.78.90') { echo 'Special information for development team is as follows:'; //echo $var1, etc... }
Main Category