I need a php script done that will redirect visitors based off of if they are a first time visitor or already visited visitor. If they are visiting for the first time they are redirected to a specified webpage and if they visited more then once they are redirected to the other specified webpage. All this has to be done in a flat file text database. I currently have one done for MySQL but is creating too much overhead and hopefully this will fix it. In the text file all that has to be stored is the remote IP and something like "0" if they are first time visitor and "1" if they visited before. No more information is needed.