Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. New3Perl

    Handling Images on Webpages

    Any ideas of how to figure out what kind of image file it is?
  2. New3Perl

    Handling Images on Webpages

    I'd like to be able to get a copy of an image that I've seen on a webpage into a image editing/display program. The HTML fragment associated with the image looks like: <img src='images/theimage.png' border='0'/> my Perl code to download and save the image looks like: my $browser =...
  3. New3Perl

    Posting to a Form With no Action=...

    How do I get a copy of the CheckForm handler code? I presume that it is somewhere on the HTML page. What language is it written in? Thanks in advance...
  4. New3Perl

    Posting to a Form With no Action=...

    I've written an application using the LWP library that monitors a particular web site for changes in information. This involves having the application log in to the site and repeatedly navigate through a series of web pages to see if any information changes on them, responding appropriately to...
  5. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    Success! After looking over the available add-ons I downloaded HttpFox. Very helpful. The main problem ended up being the sort of thing that usually trips me up - a stupid syntax error. I had left out the quotes around the names of the hidden input fields in the POST. The corrected code...
  6. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    No. You misunderstood me. I ran three tests. Before each test I cleared the cookie jar so that the "starting state" of the test would be the same. I did not clear the cookie jar in the middle of a test. The tests were as follows: (1)Get the login2.asp page: my $response =...
  7. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    I have now tried what (I think) you suggested, but am still having problems. Here are the details. Let's call the login page 'https://www.thesite.com/login2.asp'. If I get this page using my $response = $browser->get('https://www.thesite.com/login2.asp'); then two Set-Cookie lines come back...
  8. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    Ok. I'll try what you suggested wrt following the Location header and let you know how things go. Looking over some of the notes that I made when I was first trying to get things working, your suggestion is making a lot of sense. I pretty much know barely enough to do useful things in Perl...
  9. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    It's been a while since I posted my original message on this topic. I've made some progress since then, but I am still having some problems. I initially focused on the second non-optimal way of dealing with the login problem: manually logging and then (also manually) copying over the cookies...
  10. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    I'll definitely look into Ospy and see what it can do - sounds like it is what I need. Regarding the 302 message - when I get this I always get redirected to the the logon page, not the page that I know I should get to when I actually have a successful logon. Also, as in the case where I POST...
  11. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    Yes. I have tried it both ways. If I send the POST to login.asp (instead of login2.asp), then I get a response header with status line '302 Object Moved'. The content is a short HTML page with a link pointing back to login2.asp. So something is not quite right here. That's why I'm imagining...
  12. New3Perl

    Difficulty With LWP Automated Access to Password Protected WebSite

    I am trying to write a Perl application to monitor data on a password protected web site. I am using the Perl & LWP book by Sean Burke as a reference. The website uses a https: login page to get a user id/pin. Once logged in one can navigate around and get various kinds of information that is...

Part and Inventory Search

Back
Top