PHP Script To Create Expiring Links To Urls
Need a php SCRIPT developed that will allow me to create expiring links to urls. for example. i will be emailing to 100 of my customers a sales letter, but it will be a one time offer. in each email i want to include a UNIQUE expiring link to the online sales letter URL.
I need to be able to create multiple links at once to be used in my email campaign.
created links should have the following attributes:
1) selectable number of clicks to expire. the link is no good after the link has been clicked x number of times
2) time to expire. link expires after x amount of seconds after link has been created
3) link can be locked to ip. if an ip is used to access a link, that link cannot be accessed by any other ip address.
I need to be able to use one of the features or all of them. for example:
link that expires after 1 click or
a link that expires after 3 clicks OR 24 hours or
a link that is locked to an IP address AND expires after 12 hours.
Here is a sample [login to view URL] The script at that page is missing a few things that I need. it only allows me to select time or number of clicks. the time is set as a specific date rather than number of minutes. it only allows me to create 1 link at a time. restrict to ip is not an option.
Also needs to be able to create thousands of links at a time as well as have a function that allows me to define where the user goes if link is expired or has been clicked already