#!/usr/bonsaitools/bin/perl
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Application Registry.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
require 'lloydcgi.pl';
$|=1;
$rawname= $form{"email"};
$email = $rawname;
$enc_email = url_encode($email);
$email =~ s/%/@/ if $email !~ '@';
$username = $email;
$username =~ s/@.*$//;
$hostname = $email;
$hostname =~ s/^.*@//;
$hostname = "netscape.com" if $hostname eq $email;
$full_name = $email;
$enc_full_name = $email; #this should be url encoded
@extra_url = ();
@extra_text = ();
print "Content-type: text/html\n\n\n";
print "
\n";
print "$email\n";
print " \n" if @extra_text; print qq( |