Gossamer Forum
Quote Reply
Problem with Code
Hi,

Can anyone see anything that could possibly crash the server or cause any problems in the below code:?



Code:


sub user_signup {
# -------------------------------------------------------------------
# This subroutine will get called whenever the hook 'user_signup'
# is run. You should call GT::Plugins->action ( STOP ) if you don't
# want the regular code to run, otherwise the code will continue as
# normal.
#
my (@args) = @_;
if ($IN->param('action') ){return @args;}
my $opts = Links::Plugins->get_plugin_user_cfg('SignUp');
GT::Plugins->action ( STOP );
my $secondpage = $opts->{SecondSignUpPage};
my $Username = $IN->param('Username');
my $Email = $IN->param('Email');
my $Password = $IN->param('Password');
print "Location: $secondpage&Username=$Username&Email=$Email&Password=$Password\n\n";
return @args;
}
Subject Author Views Date
Thread Problem with Code Dafyyd 4375 Sep 20, 2002, 2:49 AM
Thread Re: [Dafyyd] Problem with Code
Andy 4304 Sep 20, 2002, 4:44 AM
Thread Re: [Andy] Problem with Code
Dafyyd 4261 Sep 20, 2002, 4:56 AM
Thread Re: [Dafyyd] Problem with Code
yogi 4260 Sep 20, 2002, 6:01 AM
Post Re: [yogi] Problem with Code
Alex 4246 Sep 20, 2002, 9:47 AM
Post Re: [yogi] Problem with Code
Paul 4234 Sep 20, 2002, 10:13 AM
Post Re: [Dafyyd] Problem with Code
Alex 4234 Sep 20, 2002, 9:49 AM