Skip to content

Instantly share code, notes, and snippets.

@coulterpeterson
Created November 21, 2019 23:01
Show Gist options
  • Save coulterpeterson/51cbba24ce80191edf2d2628d3441bb3 to your computer and use it in GitHub Desktop.
Save coulterpeterson/51cbba24ce80191edf2d2628d3441bb3 to your computer and use it in GitHub Desktop.
#PHP only run on my IP address
<?php
if($_SERVER["REMOTE_ADDR"]=='111.111.111.111')
{
//run only my ip
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment