|
Posted by Geoff Berrow on 05/08/06 09:22
Message-ID: <flmt5213gdjtsoa0f9g0671cahmr8b70to@4ax.com> from Shaun
contained the following:
>>I came across a php script on the net that will compare a web surfers IP
>>address to those in a text file. If a match or partial match is found, the
>>user is banned from accessing the php script, but if no match is found, the
>>php script executes.
>
>For starters, this is something that would be much more efficient if
>it were using a database as opposed to a group of text files. I
>mention this primarily because you do seem to be concerned about
>efficiency.
For seconds, it is assuming that IP is a unique identifier. It isn't.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|