Re: PArsing tables of web page directly on the web.

2007-10-24 Thread Matthew Whipple
d then you may want to try narrowing the problem down to a more specific step. > - Original Message > From: Siva Prasad <[EMAIL PROTECTED]> > To: beginners@perl.org > Sent: Wednesday, October 24, 2007 11:18:21 AM > Subject: PArsing tables of web page directly on the we

Re: PArsing tables of web page directly on the web.

2007-10-24 Thread Gunnar Hjalmarsson
Siva Prasad wrote: use LWP::UserAgent ; $ua = new LWP::UserAgent ; $ua->agent("Mozilla/4.0") ; # Play with their minds $req = new HTTP::Request 'GET', 'http://www.jimmyr.com:80/free_education.php' ; $req->header('Accept' => 'text/html') ; $res = $ua->request($req) ; if($res->is_success){

RE: PArsing tables of web page directly on the web.

2007-10-24 Thread Bob McConnell
From: Siva Prasad [mailto:[EMAIL PROTECTED] > Hi Gurus, > > I wanted to parse a PHP page which is on web. > I don't have access to server where the PHP page is hosted. > So I wanted to get source of that particular page and then parse the source file. When you access a PHP page with HTTP, you w

Re: PArsing tables of web page directly on the web.

2007-10-24 Thread Prabu Ayyappan
nesday, October 24, 2007 11:18:21 AM Subject: PArsing tables of web page directly on the web. Hi Gurus, I wanted to parse a PHP page which is on web. I don’t have access to server where the PHP page is hosted. So I wanted to get source of that particular page and then parse the source file. H

PArsing tables of web page directly on the web.

2007-10-23 Thread Siva Prasad
Hi Gurus, I wanted to parse a PHP page which is on web. I don't have access to server where the PHP page is hosted. So I wanted to get source of that particular page and then parse the source file. Here is the code: ---Code use LWP::UserAgent ; $ua = new LWP::UserA