[thelist] Can I capture part of a link?

Hugh Blair hblair at hotfootmail.com
Wed Feb 26 08:35:01 CST 2003


I can't find the answer to this question.

Scene:
Person is sent an email with a link to click on that looks
something like this: http://www.domain.com/AAA###### or
http://www.domain.com?AAA###### where "A" is an alpha
character and # is a number, length from 1 to 6. User
clicks on that link which takes them to a web page that's
a survey. They fill out the survey and an email is sent
and/or their entries are added to a database.

What I need is to track that AAA###### with their responses.
The client doesn't want the user to be required to enter any
identifying information. This code will just be used to track
the distribution of responses.

I can't figure out how to do that with just an HTML page.
Just looking in the server log won't be acceptable, the
code has to travel with the responses.

Can that be done? How? Or will I need to use some Perl
routine or a PHP page? The server is 'nix so Perl/PHP are
available.

I've just not run into this issue before so I'm lost.

Thanks in advance,

--
   Hugh




More information about the thelist mailing list