Re: how to retrieve the header information from a html page ???
From: Kevin Collins (spamtotrash_at_toomuchfiction.com)
Date: 03/25/05
- Previous message: Kevin Thompson: "Re: ftp passive mode"
- In reply to: senthilS: "how to retrieve the header information from a html page ???"
- Next in thread: zentara: "Re: how to retrieve the header information from a html page ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Mar 2005 18:58:44 GMT
In article <1111699984.566894.29440@o13g2000cwo.googlegroups.com>, senthilS
wrote:
> Here is the sample scenario :
>
> A cgi request is going to a server say a webserver or a application
> server, that server is configured to redirect this request to a
> "sample.html" page.
>
> This html page is just a test page just to get this request.
>
> Now I want to retrieve the header information of this sample.html page.
>
> Is there anyway we can script to get header information from
> sample.html whenever the server redirects all request to this
> sample.html page
See the 'wget' command - specifically the '-s' or '-S' options will probably
help. Additionally, you could use Perl and the CGI module or curl with the '-D'
option (from a quick man page glance).
Kevin
- Previous message: Kevin Thompson: "Re: ftp passive mode"
- In reply to: senthilS: "how to retrieve the header information from a html page ???"
- Next in thread: zentara: "Re: how to retrieve the header information from a html page ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|