Login Register






PHP Unique Visitor IP Grabber filter_list
Author
Message
RE: PHP Unique Visitor IP Grabber #7
(11-25-2013, 06:45 PM)Crime Wrote:
(11-17-2013, 02:12 PM)snooper Wrote: They are easy to code, and it would be faster+better if u used sql Smile

Technically not faster, as depending on how your database fills up, the requests could take more time, while the current code just queries a text file, and can pull by IP through the whole list. I've converted my code to a database though.

I would argue that though that depending on the implementation of your file search that could also take longer. Both could be optimized or poorly coded. Also depends on size. On an app of this size you probably arent going to get thousands of IP's in a txt file so SQL would probably have a moderately larger overhead, which is why i suggested sqlite.

Allows for a much more refined storage of information without as much of the server overhead. its like opening a text file except with an easier way of storing more relevant information.

Reply





Messages In This Thread
PHP Unique Visitor IP Grabber - by Crime - 10-18-2013, 08:44 PM