Search results

  1. P

    How can I allow ONLY one IP with PHP?

    use $_SERVER['REMOTE_ADDR'] and check the ip if it matches then do what you want......... if($_SERVER['REMOTE_ADDR']=='[some ip]') { blah blah..... } Hope this helps............
Back
Top