My php, C, curl url shortner script is capable of shortening 1 url, but instead of making lots of shortened urls for one domain, I'd like to have 10 spots to add urls.
Ideally, when you're finished, the script will be able to shorten 1-11 urls. When the shortner is running, it would shorten the first url most of the time, about 80% of the time. The other 10 urls will be shortened about 2% of the time. So in the end, I'll have a list of shortened urls. 80% of them would direct me to the frontpage url, and 20% of the urls in the list would direct me to 10 other urls.
Ideally, the script will function if I enter 1 url or 6 or 11 urls. No matter how many urls I enter, it will function correct.