I need a cloaking script written so that visitors from certain IP addresses, and from IP addresses outside of the United States, see one website, while other visitors see a different website.
You must be able to understand raw server logs to decide which IP needs to be redirected.