I am searching for a tool/script but must be using the wrong keywords (Sort of like looking for love in all the wrong places ;)).
I am lookking for a cgi-bin script that will create a dynamic link call. Exactly like what Brett uses here for links in posts. This would be run on a Wind*ws server.
TIA as always,
Brian
Time to look like a complete newb on this one.
I do not understand how to set this up.
Do I use this code snippet for each hyperlink that I wan't to utilize it? Do I put it in an ASCII file in the CGI-BIN directory and if so how do I formulate the call? Also is this win server compatible?
Sorry for the most basic of questions.
Confessions of a Perl newb,
Brian
A few extra lines will give you a basic redirector that you can use for any link:
#!/usr/bin/perl
use CGI;
$query=CGI::new();
$destination=$query->param("go");
print "Location: $destination\n\n";
Upload that as a plain text file called redir.cgi (or whatever) to your cgi-bin, and chmod it to 755 / set it executable.
When you want to use a redirect, reference it like <a href="/cgi-bin/redir.cgi?go=http://www.example.com">Link</a>
Put the full URL of whatever page you want after the 'go=' part.
That should do the trick...
As to your win server question - I don't see why not as I believe the CGI module that the script uses is cross-platform, but I've never tried it.