Hi,
Can anyone see anything that could possibly crash the server or cause any problems in the below 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;
}
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;
}