View Full Version : Emailing Long Links
toneharb
11-20-2005, 02:59 PM
Some browsers add new lines every so many characters the link is truncated .
I use php mail which does the job fine 9/10 times or more but just wonder if there is any way known to man or beast of getting all browsers not to split the link up .
vinyl-junkie
11-20-2005, 03:57 PM
I don't know if there is, but one workaround you might try is tinyurl.com (http://tinyurl.com/).
toneharb
11-20-2005, 04:18 PM
Thanks Vinyl Junkie .
That is the sort of thing (although i was hoping it was something to do with the parameters used by phpmail maybe the encoding parameter for instance ) .
That would also come in handy for affiliate links through my affiliate site.
But as there's hundreds it would be best to write something similar to do it dynamically .
I assume it works by storing the long URL in a db which is looked up when someone clicks the link and goes to redirect page - one for each small url record (probably compressed somehow) . Have seen quite a lot sites do this kind of thing , don't really have time myself .
If anyone knows of any ready made scripts which can do this internally on an a large scale - 100s of links i'd be interested to hear .
Cheers:D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.