View Single Post
Old 08-31-2004, 09:36 AM  
Dcat
Confirmed User
 
Dcat's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Mexico
Posts: 1,607
In case anyone else was interested in how to do this, I came up with this code. It performs the account substitution nicely, and seems to work well.

* Note: I placed this code into my old "topsites.cgi" file.


---------------------------------------------------
#!/usr/bin/perl

use CGI qw(:standard);

my $id = param('id');

print "Location: http://www.mysite.com/in.php?id=$id\n\n";
print ("Content-type: text/html\n\n");
exit;

---------------------------------------------------

Dcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote