#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Alkmaar, The Netherlands
    Posts
    123
    Rep Power
    15
    Hi,

    My employer wants me to write a Perl-script which automatically loads page and reads some content of it into a variable. The problem is that this page has an Access Control List.

    Does anybody know how to log onto this page with Perl, or fill in this dialog box of the ACL?

    All help is appreciated

    ----------
    Thanx
    Bas van der Meijden
    b.vandermeijden@pecoma.nl
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 1999
    Posts
    33
    Rep Power
    16
    using: LWP::UserAgent

    $ua->credentials($netloc, $realm, $uname, $pass)
    Set the user name and password to be used for a realm.
    It is often more useful to specialize the
    get_basic_credentials() method instead.

    I think that might be what you want?

IMN logo majestic logo threadwatch logo seochat tools logo