For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Freelance > November 2004 > Quick and simple script needed









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Quick and simple script needed
Shabam

2004-11-13, 3:57 pm

I need to create a cgi script using Perl that basically loads a web page,
asks for a Username and stores it in a variable "Username". Also, it takes
the domain name of the site (that runs the script) and stores that in the
"Domain" variable.

Next it needs to do a substitution:

http://www.anothersite.com/whatever...ame&var2=Domain

And redirects the user to that url.

Overview of why I need this:
I do free hosting for some customers and they have addresses in the form of
http://username.domain.com. I have a billing system but it was made for
pure domain names, and not subdomains. Therefore I need to gather
information from the user, as well as the site calling the cgi, to form this
domain name part, which ends up being http://username.domain.com.

Please reply with your email address if interested, or contact me at
x-redb-aro--n-x@hotmail.com (remove all of the dashes).



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com