Gossamer Forum
Home : Products : DBMan : Customization :

Adding user from Perl Script

Quote Reply
Adding user from Perl Script
I am trying to add a user from inside a perl script. I am using the following call:

use LWP::Simple;

$doc = get 'http://www.domain.com/cgi-bin/dbman/db.cgi?db=default&uid=admin.999999999999&admin_display=1&per_view=1&per_mod=1'

This gets a response without any errors but doesn't seem to actually add a new user.

I appreciate any help.

Thanks
Quote Reply
Re: Adding user from Perl Script In reply to
The problem I see is with the session number associated with the admin userid. You will have to parse out the session number in order for this to work.

Regards.

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------