Re: accessing a site with a password/frames...

2004-04-15 Thread Samuel Chang
my $status = $browser->credentials('wwwin-tools.x.com:80','ZZZ','Userid' => 'password'); ZZZ is the realm that you can find in the user/password window. Sam At 01:09 PM 4/15/2004 -0700, bruce wrote: hi... a general question... i've used the LWP functions to access sites before. however, i'm

grab URL content by getsotre - authentication issue

2004-03-28 Thread Samuel Chang
Hi All, I am running LWP to request the whole page information. The code is as follows: my $status = getstore($url, $file); It takes the url and saves its content in the file. It works fine until authorization is added. When I reaches the url manually, a popup window appears requesting userid

RE: compiled perl scripts?

2004-01-29 Thread Samuel Chang
Hi All, Does anyone know how to read a PDF file into the PERL program? Thanks, Sam At 12:13 PM 11/3/2003 -0500, Scott Campbell wrote: You can use "perlapp" which is part of the ActiveState PDK.  Another good one is perl2exe found at http://www.indigostar.com/perl2exe.htm.     Scott Campbell Sen

Re: Access to current directory

2003-09-17 Thread Samuel Chang
I am trying to run perl CGI under microsoft IIS (Windows 2000 server). I install activeperl version 5.6.1.635. What I have done is as follows: 1. Add .cgi support to iis. 2. Write a small program as follows: print "Content-type: text/html\n\n"; open (counter, " flock (counter, 1); read(counter, $