View Single Post
Old 05-23-2012, 07:50 AM  
X_X_ROB_X_X
( ◣_◢ )
 
Industry Role:
Join Date: Jun 2007
Location: USA
Posts: 509
Quote:
Originally Posted by notjoe View Post
Or at the very least use some sort of caching technology so you're not doing a remote lookup against every single ip address.

What he has might work for a few hits but once you get serious traffic it'll fail.
I've actually been pushing about 30k hits daily through this script the way it is and it seems to be doing fine. The foreign is being redirected to one site I use and the "good" traffic is going to 2 other programs I use.

I'm sure there are much better ways to do it but I didn't really see any reason to change it thus far (other than to try and split the foreign traffic up that is).
X_X_ROB_X_X is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote