WWW CGI script help

WWW CGI script help

Post by Greg Whali » Wed, 03 Jan 1996 04:00:00



OK, thanks to those who responded to my previous question.  It helped a
lot.  Here is my next question.  I need a script that can connect to
predetermined www sites, get the source for specified html docs, and
write that source to a file locally.  I assume that this has to be done
with cgi scripting, but I have no clue how to use this.  Any help will be
very much appreciated.
Thanks,
Greg

----------
Greg Whalin
Net 66 - Your Route to the Internet

Check out http://www.champaign.com

 
 
 

WWW CGI script help

Post by Danny Aldh » Wed, 03 Jan 1996 04:00:00


: Here is my next question.  I need a script that can connect to
: predetermined www sites, get the source for specified html docs, and
: write that source to a file locally.  I assume that this has to be done
: with cgi scripting, but I have no clue how to use this.  Any help will be
: very much appreciated.

try lynx -source URL . I would like to take credit for this idea,
but I stole^H^H^H^H^H borrowed it from Neil Bowers' weblint prog.

    Danny Aldham -- Vancouver Technical Support  |   ._ o
          CGS Inc.   SCO APC  Acer-Altos Distr.  |  /  //\.
        Phone (604) 528-6000 Fax (604) 528-6090  | '  \>> |
    -- Keep your stick on the ice. (Red Green)---|     \\ '

 
 
 

WWW CGI script help

Post by Ananda M. K » Thu, 04 Jan 1996 04:00:00



? OK, thanks to those who responded to my previous question.  It helped a
? lot.  Here is my next question.  I need a script that can connect to
? predetermined www sites, get the source for specified html docs, and
? write that source to a file locally.  I assume that this has to be done
? with cgi scripting, but I have no clue how to use this.  Any help will be
? very much appreciated.

  I know of 2 ways of doing it. Use "lynx -dump http://......" or I've
  a perl script "httpget" which will do the same.

  Ananda

--
Ananda M. Kar |(H)458-9754 | URL: http://www.cs.utexas.edu/users/ananda/
------------------------------------------------------------------------
"Unix is simple, but it takes a genius to understand the simplicity. "

 
 
 

1. Help needed with CGI scripts for Unix WWW server

Hiya,

I have never used perl before, but I have to write a script for a WWW
server in perl. I was wondering if anyone could give me some
information, or where to get it, about how to use perl to get the
information from a WWW client, and then to respond with some of the
information back to the client.

If somebody out there has a script that will give me an example of
this I would be very grateful.

Here's what I want to do:-

I have a form with 5 keys. I want the server to append all five fields
to the end of a file, and also return four of the keys back to the
client (for confirmation).

Thanks in advance,

Nick

------------------------------------------------------------------------------

http://www.wlv.ac.uk/~cm6618/nick/      | World Tel: +44 1902 686987  
------------------------------------------------------------------------------
Wolverhampton Wanderers World Wide Web  | http://www.wlv.ac.uk/~cm6618/wolves/
------------------------------------------------------------------------------

2. HELP!->Kernel panic on unloading modules...

3. CGI script for changing passwords via WWW

4. Problem with GNU make

5. Security of WWW cgi-bin scripts?

6. Multiple IP Addresses

7. Help: Apache: cgi script - malformed header from script

8. portability: tar VS tape backup

9. WWW server cgi facility not working (HELP)

10. Netscape Server :error send-cgi reports: cannot execute CGI script /disk6/www/ged/cgi-bin/division.info.pl (permission denied)

11. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

12. announce: cgi++ v2.0: a c++ library for cgi script handling

13. Perl CGI script gets CGI params as ARGV arguments under Apache2