On Thu, 1 Apr 2004 09:49:20 +0700, Hari Fajri wrote:
> "$ua->credentials($netloc, $realm, $uname, $pass)"
> but i do not understand what is $netloc and $realm is...
$netloc is the network location. Meaning the http address plus the port the
server is running on.
$realm is the alias for the secured directory. It is normally shown as 'area'
or 'realm' above the the login request of your browser.
Example:
$ua->credentials(
"http://the.server.com:80",
"THE SERVER members area",
"uname" => "pass"
);
Hope this helps.
/oliver/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>