Different outcomes with same request

2004-01-23 Thread Justin Cook
Hi All, I'm having trouble ripping some info from a dynamic web page using a $ua-post request. For testings sake a made a copy of a response I got from the target page and put it in localhost. Here's the code: start code $request = $ua-post('https://www.theirsite.com/form.asp', \%post_form);

Re: Different outcomes with same request

2004-01-23 Thread Philippe 'BooK' Bruhat
Le vendredi 23 janvier 2004 à 09:49, Justin Cook écrivait: Now as shown the script will find the Thank you! part but will not find the transaction number, but when I switch it to the post to localhost it find the transaction id and loads it into my table just fine. What is going on here? Is

Re: Problem logging on to site with MECHANIZE

2004-01-23 Thread Gedanken
On Fri, 23 Jan 2004, bzzt wrote: I'm trying to log on to this site (www.thecityvibe.com/forum/) with the followin script but doesn't seem to succeed. Anyone knows what the problem might be? I dont have time to test this from command line, but heres one possible head scratching solution. I

Re: Different outcomes with same request

2004-01-23 Thread John J Lee
On Fri, 23 Jan 2004, Philippe 'BooK' Bruhat wrote: [...] Maybe the transaction is put in the page by some javascript (document.print?). Your browser saves the resulting page, while WWW::Mechanize works on what the server sends. No, browsers always save the original document. At least, that's

Re: Problem logging on to site with MECHANIZE

2004-01-23 Thread John J Lee
On Fri, 23 Jan 2004, Gedanken wrote: [...] basically i manually set the form action... to the same thing it was already set to. and voila, stuff starts working. Ill edit your version below to show you what i mean. Yuck. Does it also work if you wave a dead chicken at it? ;-) Why not check

Re: Problem logging on to site with MECHANIZE

2004-01-23 Thread Gedanken
On Fri, 23 Jan 2004, John J Lee wrote: Yuck. Does it also work if you wave a dead chicken at it? ;-) Why not check the HTTP headers to find out what's going wrong? the headers are identical as far as i can tell. after all, the code snippet i sent doesnt actually change anything. whether

Re: Different outcomes with same request

2004-01-23 Thread John J Lee
On Fri, 23 Jan 2004, Justin Cook wrote: [...HTML saved from browser and fetched with LWP appear different...] going on here? Is it the difference between a dynamic page and a static page being posted to? No. Am I not recieving all the chunks of response in time to get the transaction id? Is

Re: Problem logging on to site with MECHANIZE

2004-01-23 Thread John J Lee
On Fri, 23 Jan 2004, bzzt wrote: I'm trying to log on to this site (www.thecityvibe.com/forum/) with the followin script but doesn't seem to succeed. Anyone knows what the problem might be? (without reading your script): no cookie jar? I don't recall if WWW::Mechanize makes one by default if

Re: Problem logging on to site with MECHANIZE

2004-01-23 Thread John J Lee
On Fri, 23 Jan 2004, Gedanken wrote: On Fri, 23 Jan 2004, John J Lee wrote: Yuck. Does it also work if you wave a dead chicken at it? ;-) Why not check the HTTP headers to find out what's going wrong? the headers are identical as far as i can tell. after all, the code [...] Did you

Re: Problem logging on to site with MECHANIZE

2004-01-23 Thread John J Lee
On Fri, 23 Jan 2004, Gedanken wrote: On Fri, 23 Jan 2004, John J Lee wrote: Yuck. Does it also work if you wave a dead chicken at it? ;-) Why not check the HTTP headers to find out what's going wrong? the headers are identical as far as i can tell. after all, the code snippet i sent

RE: Problem logging on to site with MECHANIZE

2004-01-23 Thread Thurn, Martin
This book probably answers all your questions... http://www.amazon.com/exec/obidos/ASIN/0596001789/thestarwarscol06 - - Martin -Original Message- From: John J Lee [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 10:57 AM To: [EMAIL PROTECTED] Subject: Re: Problem logging

RE: unsubscribing

2004-01-23 Thread Hawk
Hi, I would like to unsubscribe from the list but I can remember how. Thanks.

Re: unsubscribing

2004-01-23 Thread Philippe 'BooK' Bruhat
Le vendredi 23 janvier 2004 à 15:20, Hawk écrivait: I would like to unsubscribe from the list but I can remember how. It's in the headers of each and every mail sent to the list. Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: mailto:[EMAIL