473,779 Members | 1,964 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 5734
2g*****@gmail.c om 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*******@attgl obal.net
=============== ===
May 19 '07 #2
On May 19, 3:26 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
2goo...@gmail.c om 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...@attgl obal.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 "92c13de5a560be fafbee63783cdc6 85826f7562" part is the one-time
part
Thanks again

May 19 '07 #3
2g*****@gmail.c om wrote:
On May 19, 3:26 am, Jerry Stuckle <jstuck...@attg lobal.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...@attg lobal.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 "92c13de5a560be fafbee63783cdc6 85826f7562" 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*******@attgl obal.net
=============== ===
May 19 '07 #4
On May 19, 4:39 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
2goo...@gmail.c om wrote:
On May 19, 3:26 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
2goo...@gmail.c om 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...@attgl obal.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 "92c13de5a560be fafbee63783cdc6 85826f7562" 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...@attgl obal.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.c om 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
1926
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 "Sufficiently advanced cluelessness is indistinguishable from malice." -- Alex Martelli 2.4 is final, buildable under Windows in at least a couple of ways, improved, ...
3
1746
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 "<br>"; }
5
1732
by: Curious | last post by:
What is better for links - blah.com or the IP address?
3
5800
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 lots but I haven't found anything that helps too much. I'm testing our web site and hiting +6000 urls per test. Here is a subset of what I'm doing. import IEC #IE controller from http://www.mayukhbose.com/python/IEC/index.php from...
11
2001
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 arse because I can't figure out how to stop having this fact cock up my relative urls. When I create a virtual directory - presumably what you're supposed to do when you're only allowed one site my relative URL's refer to the root of the
10
2217
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 I came across a thought.... ....why show the visitor loads of junk just because Im using A-href type links? Is there a way to create a text-link that will request a page using POST instead of GET?
21
1851
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. Are there any way of (easily, without messing the site ;)) redirecting those links to the main site?
1
1433
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 guides.html#outline ? Thanks Shriphani P.
1
1573
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 http://mysiteA.com; (2) but when the back button is pressed it will send them to the other links besides http://mysiteA.com. <?php $ref = $_SERVER; if (strpos($ref,'google.com')!==FALSE) { $urls = array ("http://mysiteA.com", "http://mysiteB.com",
0
9633
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10305
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10074
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8959
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7483
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6724
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5373
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4037
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 we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.