curiosity-- long links in coding to shorter ones?

D

David Dorward

Richard said:
Just out of curiosity, is it possible to have a short link in <a href>
instead of some super long link?

You need a real URL.
Say in the same way that tinyurl.com works?

You could implement your own version of tinyurl on your own server.
Possibly have the long links referenced in an array, then somehow refer to
the array through the <a> tag?
<a
href=http://download.com.com/3120-20-0.html?qt=editor&tg=dl-20&search=+Go!
+ target="_blank">

Invalid - you need to convert "&" to "&amp;" and quote the value of the href
atrribute.

Target="_blank" is evil anyway.
would become

<a link[0]> perhaps?

No. But you could do: <a href="/l/0"> so long as you had something on the
server to handle it.
 
J

Jacqui or (maybe) Pete

Just out of curiosity, is it possible to have a short link in <a href>
instead of some super long link?
Say in the same way that tinyurl.com works?
Possibly have the long links referenced in an array, then somehow refer to
the array through the <a> tag?
<a
href=http://download.com.com/3120-20-0.html?qt=editor&tg=dl-20&search=+Go!
+ target="_blank">
Well, you could always use eg: <a href="http://snurl.com/1rng"> gut </a>

or you could set up an array of links in a php/perl page & use eg:

<a href="mysnurl.php?pg=9"> thing </a>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top