| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		rodmac -
 
  Joined: 12 Dec 2007 Posts: 3
 
  | 
		
			
				 Posted: Sun May 25, 2008 12:18 am    Post subject: Blocking ip address access to my site | 
				      | 
			 
			
				
  | 
			 
			
				| 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 | 
		
			          | 
		
	
	
		  | 
	
	
		AbyssUnderground -
 
  Joined: 31 Dec 2004 Posts: 3855
 
  | 
		
			
				 Posted: Sun May 25, 2008 12:25 am    Post subject: Re: Blocking ip address access to my site | 
				      | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		
			           | 
		
	
	
		  | 
	
	
		 |