By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

One time links / urls

P: n/a
How do I create one time links such as in:
http://www.tv-links.co.uk/link.do/1/...99/14093/23781
Thank you

May 19 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
2g*****@gmail.com wrote:
How do I create one time links such as in:
http://www.tv-links.co.uk/link.do/1/...99/14093/23781
Thank you
That's not a one-time link.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
May 19 '07 #2

P: n/a
On May 19, 3:26 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
2goo...@gmail.com wrote:
How do I create one time links such as in:
http://www.tv-links.co.uk/link.do/1/...99/14093/23781
Thank you

That's not a one-time link.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
Hi Jerry,
I am sorry if I wasn't clear enough (I am not a native English
speaker)
I was refering to the link inside that page, i.e.
http://www1.tv-links.co.uk/link.do/1...cdc685826f7562

The "92c13de5a560befafbee63783cdc685826f7562" part is the one-time
part
Thanks again

May 19 '07 #3

P: n/a
2g*****@gmail.com wrote:
On May 19, 3:26 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
>2goo...@gmail.com wrote:
>>How do I create one time links such as in:
http://www.tv-links.co.uk/link.do/1/...99/14093/23781
Thank you
That's not a one-time link.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================

Hi Jerry,
I am sorry if I wasn't clear enough (I am not a native English
speaker)
I was refering to the link inside that page, i.e.
http://www1.tv-links.co.uk/link.do/1...cdc685826f7562

The "92c13de5a560befafbee63783cdc685826f7562" part is the one-time
part
Thanks again
Well, I don't see a link like that in the page.

But how you do it - typically a combination of using Apache's
mod_rewrite and a database. Set your url rewrite commands in the your
..htaccess file (or httpd.conf if you have root access). Any request in
the xxx/once directory gets directed to a script, passing the long
alphanumeric string as a parameter.

Previously, before you displayed the link, you created an entry in your
database, using the long alphanumeric string and the real destination.
When the user requests this uri, mod_rewrite redirects the request to
your script. Your script then looks up the long alphanumeric string in
the database. If found, it serves the appropriate page. If not, it
redirects to the Not Found page.

Not that hard. Exact details on how to do it depend on the database and
programming language.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
May 19 '07 #4

P: n/a
On May 19, 4:39 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
2goo...@gmail.com wrote:
On May 19, 3:26 am, Jerry Stuckle <jstuck...@attglobal.netwrote:
2goo...@gmail.com wrote:
How do I create one time links such as in:
http://www.tv-links.co.uk/link.do/1/...99/14093/23781
Thank you
That's not a one-time link.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
Hi Jerry,
I am sorry if I wasn't clear enough (I am not a native English
speaker)
I was refering to the link inside that page, i.e.
http://www1.tv-links.co.uk/link.do/1...781/once/92c13...
The "92c13de5a560befafbee63783cdc685826f7562" part is the one-time
part
Thanks again

Well, I don't see a link like that in the page.

But how you do it - typically a combination of using Apache's
mod_rewrite and a database. Set your url rewrite commands in the your
.htaccess file (or httpd.conf if you have root access). Any request in
the xxx/once directory gets directed to a script, passing the long
alphanumeric string as a parameter.

Previously, before you displayed the link, you created an entry in your
database, using the long alphanumeric string and the real destination.
When the user requests this uri, mod_rewrite redirects the request to
your script. Your script then looks up the long alphanumeric string in
the database. If found, it serves the appropriate page. If not, it
redirects to the Not Found page.

Not that hard. Exact details on how to do it depend on the database and
programming language.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================- Hide quoted text -

- Show quoted text -
The link is passed as a param to a flash player.
But anyways, the point is taken
Thank you for your help

May 20 '07 #5

P: n/a
Try looking into mod_rewrite, Apache :o)

Armando Padillad
2g*****@gmail.com wrote:
How do I create one time links such as in:
http://www.tv-links.co.uk/link.do/1/...99/14093/23781
Thank you
Jul 30 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.