Blocking ip address access to my site

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
rodmac
-


Joined: 12 Dec 2007
Posts: 3

PostPosted: Sun May 25, 2008 12:18 am    Post subject: Blocking ip address access to my site Reply with quote

Is there any way in php I can block users who type in my ip address and only allow the proper name? For example, if a user on the web types in http://123.124.125.23 they get nothing, or redirected, but if a user types http://www.mydomain.com they get in.
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun May 25, 2008 12:25 am    Post subject: Re: Blocking ip address access to my site Reply with quote

rodmac wrote:
Is there any way in php I can block users who type in my ip address and only allow the proper name? For example, if a user on the web types in http://123.124.125.23 they get nothing, or redirected, but if a user types http://www.mydomain.com they get in.


See my reply on your other topic asking the same question. There is no need to post the same question twice.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group