
Devs
Deleted
May 24, 2000, 9:59 AM
Post #1 of 1
(437 views)
|
|
CGI + URL REDIRECTION HELP PLEASE
|
Can't Post
|
|
Hi could anyone help me? I'm trying to sort out a problem that I have with a top50 script I need to change the default URL in some code to a Redirected URL but don't know how to change the code The Members code that is auto. mailed out looks like... <A HREF="http://www.long-domain-name.com/cgi-bin/topsites.cgi?username" TARGET="_BLANK"> <IMG SRC="image here" BORDER=0></A> And The code in my editmember.cgi look like... $messages .= "The following is the html code that should be on your web site:\n\n"; foreach $cf(@code) { $cf =~ s/\$url_to_cgi/$url_to_cgi/ig; $cf =~ s/\$new_id/$new_id/ig; $messages .= "$cf"; } $messages .= "\n@codem\n\n"; $messages .= "View the $topsite_name at $url/$topsite_file\n\n"; I want to change the long-domain-name in the first bit of code to a redirected url, I need to keep the different user names on the end of the domain. Sorry if its not to clear but its quite hard to explain. Cheers, Devs
|