x10Hosting Forums

Corporate Free Hosting for the Masses.



Register

Reply
 
LinkBack Thread Tools Display Modes
x10Hosting Member

DolarBux's Avatar

Join Date: Mar 2008
Posts: 29
Credits: 810
DolarBux is on a distinguished road
Quote  
07-31-2008, 10:21 AM
Smile Bloquear Ips de un pais?

Buenas,

Estoy desarrollando mi sitio web, y me quiero banear de mi web Ips de China, me han dicho que puedo hacer esto mediante el CPanel, y tambien con un codigo en la .htacces, alguen me puede ayudar?

Saludos....

Last edited by DolarBux; 07-31-2008 at 10:23 AM.
Reply With Quote
DolarBux is offlineReport Post
x10 Lieutenant

Join Date: May 2006
Posts: 391
Credits: 10,312
eZakto will become famous soon enough
Location: Salta, Argentina.

Quote  
08-01-2008, 09:22 PM
Re: Bloquear Ips de un pais?

Se hacerlo con php, te sirve?
__________________
eZakto
Reply With Quote
eZakto is offlineReport Post
♫ ¤- Spanish Sr AM -¤ ♫

GM Punk's Avatar

Join Date: Jan 2008
Posts: 3,570
Credits: 24,454
GM Punk has a spectacular aura about
Location: university

Send a message via MSN to GM Punk
Quote  
08-01-2008, 11:19 PM
Re: Bloquear Ips de un pais?

si lo deseas acer mediante cpanel, simplemente ve al cuadro seguridad, y escoje la opcion "Administrador de Negación de IPs" y a continuacion introduces la IP ke deseas blokear komo te muestra el mismo cpanel


salu2
__________________

Importante:
☻A toda la comunidad hispana, lean atentamente: "Nuevo Sistema de Soporte"☻

About Me | Sobre Mi
× PM × E-Mail × Donar ×
Tambien pueden contactarme cuando me vean en IRC.
Reply With Quote
GM Punk is offlineReport Post
x10Hosting Member

DolarBux's Avatar

Join Date: Mar 2008
Posts: 29
Credits: 810
DolarBux is on a distinguished road
Quote  
08-02-2008, 09:38 PM
Re: Bloquear Ips de un pais?

Quote:
Originally Posted by eZakto View Post
Se hacerlo con php, te sirve?
Hola, si, me sirve...

Saludos....
Reply With Quote
DolarBux is offlineReport Post
x10 Lieutenant

Join Date: May 2006
Posts: 391
Credits: 10,312
eZakto will become famous soon enough
Location: Salta, Argentina.

Quote  
08-02-2008, 11:08 PM
Re: Bloquear Ips de un pais?

Bueno, más fácil y rápido, te paso dos tutos para detectar el país mediante la ip:
http://www.manualdephp.com/codigos-p...visitante.html
http://www.latindevelopers.com/ivanc...visitante-php/
Recomiendo que uses la herramienta geoip.

Y bueno, cuando ya consigues detectar el país del visitante actual, lo que haces es un condicional, por ejemplo:
PHP Code:
if($pais 'ch') die(); 
Saludos.
__________________
eZakto

Last edited by eZakto; 08-02-2008 at 11:13 PM.
Reply With Quote
eZakto is offlineReport Post
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
¿Tu pais está bloqueado y necesitas una cuenta? Alejandro Soporte 0 05-10-2008 10:58 AM
No me dejar registrar sitios en mi pais.. AnimeDream Soporte 4 02-16-2008 06:46 AM
No deja registrar mas sitios en mi pais pablow Soporte 2 02-15-2008 12:03 PM


All times are GMT -5. The time now is 05:44 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Loans | Loans | Cash ISA | MPAA | Property for sale in Spain