Hi, i want to create a CGI script that can be used for any url and any Site Name.
i came up with this :

VB Code:
  1. #!/usr/bin/perl
  2. ##########################################
  3. # Perl CGI Script © Copyright Wayne Pearsall
  4. # Created April 2002
  5. ##########################################
  6.  
  7. print "<html> \n";
  8. print "<HEAD> \n";
  9. print "<Title> T.P.L. - Visiting Member Site </title> \n";
  10. print "</head> \n";
  11. print "<BODY background=\"/images/tplbg.gif\" bgcolor=\"#000000\" text=\"#FFFFFF\" link=\"#00CCFF\" vlink=\"#3399FF\" alink=\"#CCCCCC\" bgproperties=\"fixed\"> \n";
  12. print "To Visit <B> $FORM{'SiteName'} </B> <BR>\n";
  13. print "Please Click <a href=\" $FORM{'URL'} \"> HERE - $FORM{'URL'} </A> <BR>\n";
  14. print "Dont Forget to bookmark <a href=\" $FORM{'URL'} \"> $FORM{'SiteName'} </A>. <BR> \n";
  15. print "</body> \n";
  16. print "</html> \n";

but i get ERROR 500 *ARGGHHHHHHHHHHHHHHHH*

can any 1 see anything that is rung?

( i only want it so i can have any 1 who runs a PSERVER but donesnt have a webpage able to use the CGI Script,

my intent was the user just called it

http://me.com/cgi-bin/nourl.cgi?URL=...Name=TheirName


but the FAMOUS! Error 500 , Any help is good help ( i hope lol)

Thanks,

Wayne.