Operating System - HP-UX
1826102 Members
4790 Online
109690 Solutions
New Discussion

How to read a http using a script

 
ahmad nasser osman
Occasional Advisor

How to read a http using a script

Is there a way to read a http site using a script either perl/python/csh? I knew that ftp is always possible, what about a http site?

thanx
3 REPLIES 3
Alzhy
Honored Contributor

Re: How to read a http using a script

Best way is via Perl and the various www modules. Search CPAN.org for the modules that suites you.
Hakuna Matata.
James R. Ferguson
Acclaimed Contributor

Re: How to read a http using a script

Hi:

Perhaps you're thinking of CGI (Common Gateway Interface) scripts. Perl is ideal for this. Google "CGI" for more information. Here's one tutorial:

http://www.jmarshall.com/easy/cgi/

Regards!

...JRF...
Alzhy
Honored Contributor

Re: How to read a http using a script

More specifically the LWP Perl Module:

http://search.cpan.org/~gaas/libwww-perl-5.805/lib/LWP.pm

Hakuna Matata.