From owner-freebsd-questions Mon Sep 28 05:16:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA00787 for freebsd-questions-outgoing; Mon, 28 Sep 1998 05:16:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA00748 for ; Mon, 28 Sep 1998 05:15:52 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.04 #1) id 0zNacd-0004xk-00; Mon, 28 Sep 1998 11:33:39 +0100 Date: Mon, 28 Sep 1998 11:33:39 +0100 From: Ben Smithurst To: Chris Martino , freebsd-questions@FreeBSD.ORG Subject: Re: [OFF TOPIC] Shell Scripting Message-ID: <19980928113339.A19060@scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: User-Agent: Mutt/0.94.3i (FreeBSD 3.0-BETA i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Martino wrote: > I have it working for the most part, and if I run the script from the > command line I get exactly what I'm looking for, but that isn't the case > when I execute it from the web browser. If you are making a cgi script, you'll have to make the script produce HTTP headers, notably Content-Type: text/plain or Content-Type: text/html depending on what your script produces. > So, if you'd like to help and want to see the > script let me know and I'll gladly send it. Send a copy to me, please. You could probably get away with sending it to the list if it's less than about 5k, I doubt anyone would mind something of that size. -- Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/ PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C 68 32 0E D5 36 05 3D 16 http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message