473,503 Members | 3,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

One time links / urls

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
5 5713
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1899
by: Cameron Laird | last post by:
QOTW: "... why does Microsoft try so hard to protect its sources?" "To avoid embarrassment." -- Peter Maas and Grant Edwards http://groups.google.com/groups?frame=left&th=9a599152d8b23b54 ...
3
1732
by: Corey Martin | last post by:
Hello, I'm outputting data from a flat-file into the browser, and I'd like to output the URLs and E-Mails in link form. The code now is simply this: while (<FILE>) { print "$_"; print...
5
1721
by: Curious | last post by:
What is better for links - blah.com or the IP address?
3
5778
by: GregM | last post by:
Hi, I'm hoping that someone can point me in the right direction with this. What I would like to do is calculate the average time it takes to load a page. I've been searching the net and reading...
11
1974
by: Simon | last post by:
Hi all As I'm sure is common knowledge the version of IIS included in XP Pro is limited in that you can only create 1 website in the IIS snap in. As an ASP.net developer this is a pain in the...
10
2186
by: Trammel | last post by:
Hi, Im just about to start developing a new website for personal / friend use that may be accessed by other people all over the web. I was sitting thinking through designs for the pages, etc when...
21
1817
by: John | last post by:
Hi, I updated a site and changed the file extensions from .html to .php. Now i noticed that the google does find the old .html pages but since they're not there anymore... they can't be found....
1
1412
by: Shriphani | last post by:
Hello, I have a html file over here by the name guide_ind.html and it contains links to other html files like guides.html#outline . How do I point BeautifulSoup (I want to use this module) to...
1
1553
by: jasonst78 | last post by:
Hi everyone, I am wondering if there is a way to implement something into this code that; (1) if the referer is set properly from google.com, it will always send the initial traffic to...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.