You need to be able have a visitor click a link, have that link activated, but then send the user not at all to that page, but to a different one. It is most important that the user does not find out the URL of the link being activated. How do you do this?
Easy! It's called a redirect script. If you know the URL you want to send them to, it's just one line in your Perl program. Here is an example:
#!/usr/bin/perl
print "Location: http://webcreations-ph.netfirms.com/links/\n\n";
You don't need any other lines in the program - that's it.
Put in the script the URL of where you want to send them.
In your html, you just put the CGI script (perl program) in
the link HREF and no one will know where it will really
take them until the script runs.
|