#################################### # NETCARD 2.03 # # Aytekin Tank # email: aytekin@bridgeport.edu # http://www.interlogy.com/scripts/netcard # ################################### # # YOU HAVE TO CHANGE THESE VARIABLES: # ################################### #################################### # root directory: /usr/../you # (try "pwd" command in unix) # Points to the writable directory # where the cards are to be saved #################################### $root = "/u/htdocs/wheato/webcard"; #################################### # URL address of the same directory: #################################### $URL = "http://www.wheatonnet.com/webcard"; #################################### # URL address of netcard.pl #################################### $URLprogram = "http://www.wheatonnet.com/cgi-local/netcard2.pl"; #################################### # do you want to send confirmation email? yes=1 no=0 # (make it 0, if using windows server) #################################### $confirmation = "0"; #################################### # Sendmail address (try whereis sendmail command in unix): #################################### $sendmail = "/bin/sendmail"; #################################### # your email address # must use \ before @ like aytekin\@bridgeport.edu: #################################### $from = "webmaster\@wheatonnet.com"; #################################### # # YOU DONT HAVE TO CHANGE THESE VARIABLES: # #################################### #################################### # Max upload size in KBs: #################################### $MAX_UPLOAD = 20; #################################### # Max number of links in a list: #################################### $MAX_LIST = 30; #################################### # email subject: #################################### $sub = "Netcard Registration"; # do not change this: $cardURL = "$URL"."/$loginname".".$ext"; #################################### # body of the email: #################################### $letter = qq~ Congratulations! You have successfully completed the sign-up process for a WheatonNet Business Card. Your card has been placed at this address: $cardURL Thank you for using WheatonNet! ~; #################################### # background color of the page: #################################### $bgcolor= "Brown"; #################################### # background image of the card: #################################### $background = "images/background.gif"; #################################### # background color of the card # you can use only if there is no background image: #################################### $bgcolorcard="white"; #################################### # You can make a constant logo for everybody. # (you may use hidden form field too) #################################### # $logo = "http://yourURL/logo.gif"; #################################### # Footer code: # You can put some links or banner under every card: #################################### $footerHTML = qq~
return to WheatonNet Business Card Creator | card list
Powered by WebHarmony ~; #################################### # Template for the card: # # be careful about the variables($name etc.) # inside, if you lose them, the card will not # be able to show. #################################### sub createHTML { $cardHTML = qq~
Congratulations!You have successfully completed the sign-up process for a WheatonNet Business Card. Your permanent address is:
Thank you for using WheatonNet! ~; #################################### # Fail page HTML #################################### $failHTML = qq~
failure Sorry, $loginname is already been registered. Please go back and try a new login name. ~; #################################### # List HTML format #################################### $listHTML = qq~$loginname: $name - $company
~; } #################################### # List Header HTML code: #################################### $listHEADER = qq~netcard.html WheatonNet Business Cards.
Your Business Card on the Net!~; #################################### # List Footer HTML code: #################################### $listFOOTER = qq~
~; #################################### # please send me an email to aytekin@bridgeport.edu # about any bugs, problems or critics. Thank you. #################################### # end of configuration file of netcard version 2 ####################################