NOTE: I ALREADY HAVE THIS SCRIPT WORKING, HOWEVER IT NEEDS A TWEAK SO IT CAN GENERATE LINKS AS FAST AS POSSIBLE (SO MAY NOT REQUIRE A DATABASE). NEEDS TO MAKE 250 000 LINKS IN 2 MINUTES WITH LOADING BAR. ALSO WILL NEED OPTIMIZATIONS FOR OTHER SCRIPT.
I need a script done in PHP that when inputted a link (eg, affiliate link), will generate something like this on the site:
[url removed, login to view]
So after /, it is a ? with a securely generated hex. When one user clicks it, the IP is logged and only that IP may see the page, whereas any other IP will cause it to be expired, thus each link can only be used once forever (or only 1 IP). In addition, you should be able to kill the links at any time, or after say three days so even the original IP visitor sees it as expired. It will need to be able to run multiple campaigns as there may be different settings for each.
Only those who are experienced and done things like this bid. Should not take more than a day. Thanks.