how to stop users with ip !

Started on the old forum in February 2012 · view the original in the archive · old links redirect here

6 replies · 768 views · started 14 years ago · 1 min read

4 participants
12345xmen Developer · 239 posts #1

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~

arnage Lead · 811 posts #2
deny from 0.0.0.0
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
something else Fellow · 2,296 posts #3

hmmmm wonder how to block ghost surf

deny from

? rofl

12345xmen Developer · 239 posts #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

something else Fellow · 2,296 posts #7

safia1230 wrote: 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:

12345xmen wrote: 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:

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

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close