Gossamer Forum
Home : Products : Gossamer Links : Discussions :

user authentication ?

Quote Reply
user authentication ?
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


Subject Author Views Date
Thread user authentication ? pugdog 2188 Nov 15, 2000, 4:20 AM
Thread Re: user authentication ?
Alex 2105 Nov 15, 2000, 10:16 AM
Post Re: user authentication ?
pugdog 2097 Nov 15, 2000, 11:25 AM