PHP Scripts For Specific IP Address

There are some times when I need to check some variables or run a full error reporting but I don’t want to let anyone see what’s going on.

So a quick solution is to allow my code to run what I want for specific IP Address (which is my IP Address)

This PHP snippet is handy if you need to do print_r(), var_dump(), or even test a block of code.

Don’t forget to change the IP address to your IP Address.

There are a lot of ways to find out your IP Address. One of them is

Leave a reply:

Your email address will not be published.