how to stop users with ip !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to stop users with ip !

    hello friends i use ulkoi forum some 1 flood regestarion with 0.0.0.0 ip how i deny user which regester with 0.0.0.0 ip give me idea

    its done in .htacess but how i dnt knw !

    so if u knw tell me~

    #2
    Code:
    deny from 0.0.0.0
    <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

    Comment


      #3
      hmmmm wonder how to block ghost surf
      PHP Code:
      deny from 
      ? rofl

      Comment


        #4
        Easy. It ua is empty().
        http://coding-talk.com/f46/source-codes-small-scripts-360/index11.html#post74906
        <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

        Comment


          #5
          I am told that other sites can read the IP address on my computer and that this can be a security risk. Is there a way I can stop this?

          Comment


            #6
            i put deny from 0.0.0.0


            but some users dnt have any ip flood my forum and they get default ip 0.0.0.0 how i stop that users

            Comment


              #7
              Originally posted by safia1230 View Post
              I am told that other sites can read the IP address on my computer and that this can be a security risk. Is there a way I can stop this?
              use a proxy ip or program like ghost surf

              Added after 7 minutes:

              Originally posted by 12345xmen View Post
              i put deny from 0.0.0.0


              but some users dnt have any ip flood my forum and they get default ip 0.0.0.0 how i stop that users
              if done correctly in .htaccess then you are blocking ip adresss 0.0.0.0
              another way is to put:
              PHP Code:
              if($_SERVER['REMOTE_ADDR']=="0.0.0.0")
              {
              header('Location: http://www.stupidspammers.com');
              exit;

              at the top of your script.....
              but then again you might be using: $_SERVER['HTTP_X_FORWARDED_FOR'] and its returning 0.0.0.0
              Last edited by something else; 01.03.12, 16:38.

              Comment

              Working...
              X