Alex,
before I go chasing my curly little tail, if wanted to add user authentication to other scripts, can that be done, or do I have to hack at the user.cgi?
What I need user.cgi to do is just pass back the entered parameters to the passed url.
What I see:
$url = $CFG->{db_cgi_url} . "/user.cgi?url=$url&from=add";
then, in user.cgi
my $username = $IN->param('Username') || shift;
my $password = $IN->param('Password') || shift;
my $goto = shift || 'login_success';
I can't figure out what exactly is going on.
Nothing is being explicitly passed in, so why would 'shift' work? Doesn't shift maintain order/position?
Or, is something going on behind the scenes?
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ
before I go chasing my curly little tail, if wanted to add user authentication to other scripts, can that be done, or do I have to hack at the user.cgi?
What I need user.cgi to do is just pass back the entered parameters to the passed url.
What I see:
$url = $CFG->{db_cgi_url} . "/user.cgi?url=$url&from=add";
then, in user.cgi
my $username = $IN->param('Username') || shift;
my $password = $IN->param('Password') || shift;
my $goto = shift || 'login_success';
I can't figure out what exactly is going on.
Nothing is being explicitly passed in, so why would 'shift' work? Doesn't shift maintain order/position?
Or, is something going on behind the scenes?
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ