Groups | Search | Server Info | Login | Register
Groups > dk.edb.internet.webdesign.serverside.php > #7323
| From | Bertel Lund Hansen <gadekryds@lundhansen.dk> |
|---|---|
| Newsgroups | dk.edb.internet.webdesign.serverside.php |
| Subject | Re: Accesskontrol |
| Date | 2020-05-16 18:13 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <10ibkzjqluadl.dlg@lundhansen.dk> (permalink) |
| References | <xh67umy9vrqc.dlg@lundhansen.dk> <h4egqdgdd3ba$.dlg@lundhansen.dk> <20200507223844.26b08acaa11d26ddfb970523@gmail.com> <8ccq8lklzz6n.dlg@lundhansen.dk> <20200516173821.dbbd6d546b5cdad8547e69dd@gmail.com> |
Jan Hansen skrev: > Jeg har forsøgt at sætte en banned_intervals.inc.php sammen ud > fra ip2location's data, http://www.sniper-pistol.com/myip/banliste.php > klik på de lande, der skal bannes og tryk på knappen. > Ligner output din fil? Nej. Jeg laver min banned-fil i tre trin: 1. Saml alle enkeltfiler i et langt array. 2. Sorter filen (efter ip-numerisk værdi) og komprimer den (så nabointervaller slås sammen). Format uændret: 5.10.78.16-5.10.78.23 5.32.128.0-5.32.135.255 5.53.128.0-5.53.255.255 3. Omsæt alle ip-adresser til deres numeriske værdi, og gem arrayet som en include-fil. Format: <?php $banned_intervals = [ [16777472,16778239], [16779264,16809983], [16842752,16843007], 3-formatet giver den hurtigste søgning, og med binær søgning går det rigtig tjep. Derudover laver jeg numeriske filer for hver nations-fil så statistikprogrammets søgning efter nationalitetskode også kan gå stærkt. Format: 84561424-84561431 86016000-86018047 87392256-87425023 -- /Bertel
Back to dk.edb.internet.webdesign.serverside.php | Previous | Next — Previous in thread | Next in thread | Find similar
Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 17:32 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-06 12:38 -0400
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 19:04 +0200
Re: Accesskontrol Kim Ludvigsen <kim@kimsside.dk> - 2020-05-06 19:02 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 19:24 +0200
Re: Accesskontrol Kim Ludvigsen <kim@kimsside.dk> - 2020-05-06 19:41 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 21:32 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-06 21:17 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 21:44 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-06 23:26 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-07 05:38 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 13:50 -0400
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 21:39 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 16:06 -0400
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-09 08:35 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-09 13:34 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-09 20:21 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-09 15:02 -0400
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-09 21:17 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-07 22:44 -0400
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 07:17 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 11:55 +0200
Re: Accesskontrol Krabsen <usenet@krabsen.dk> - 2020-05-08 14:50 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 17:56 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 19:09 +0200
Re: Accesskontrol Kim Ludvigsen <kim@kimsside.dk> - 2020-05-08 19:21 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 20:03 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 19:29 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 20:13 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 14:34 -0400
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 14:30 -0400
Re: Accesskontrol Krabsen <usenet@krabsen.dk> - 2020-05-10 08:21 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-10 10:20 -0400
Re: Accesskontrol Krabsen <usenet@krabsen.dk> - 2020-05-11 08:35 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-11 09:34 -0400
Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-05-11 15:42 +0200
Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-05-09 10:47 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-09 15:27 +0200
Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-05-10 00:47 +0200
Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-02 13:04 +0200
Re: Accesskontrol "Dennis Munding" <nospa@mplease.dk> - 2020-08-02 15:22 +0000
Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-02 17:57 +0200
Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-08-05 12:24 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-08-06 16:05 -0400
Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-07 10:19 +0200
Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-07 09:55 +0200
Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-08-07 23:55 +0200
Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-08 11:42 +0200
Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-08-09 11:28 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-07 19:37 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-07 22:38 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 07:23 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 11:06 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 11:40 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 17:38 +0200
Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-16 12:12 -0400
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 18:57 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-16 18:13 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 18:46 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-16 19:29 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 19:42 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-17 11:03 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-16 18:44 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-21 16:39 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-21 16:45 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-21 18:25 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-21 18:53 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-21 20:25 +0200
Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-22 13:24 +0200
Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-23 11:46 +0200
Re: Accesskontrol Erik Ginnerskov <egin@mail.dk> - 2020-08-09 17:39 +0200
csiph-web