Re: why won't this script work?
Jauder Ho (jauderho@med.umich.edu)
Wed, 10 May 1995 14:33:24 -0400 (EDT)
Date: Wed, 10 May 1995 14:33:24 -0400 (EDT)
From: Jauder Ho <jauderho@med.umich.edu>
Subject: Re: why won't this script work?
To: www-html@www10.w3.org
In-Reply-To: <Pine.3.89.9505101312.A14149-0100000@hendrix.itn.med.umich.edu>
Message-Id: <Pine.3.89.9505101431.B14408-0100000@hendrix.itn.med.umich.edu>
Sorry I figured this out already. Stupid me... :)
Forgot the magic phrase "Content-type: text/html"
--Jauder
On Wed, 10 May 1995, Jauder Ho wrote:
>
> Can someone tell me why the following cgi script won't work?
>
> #!/usr/local/bin/perl
>
> open(AHOST,"ahosts");
> while (<AHOST>) {
> print $_;
> }
>
> ahost is just a text file in the same directory
>
> ====================================================================
> Jauder Ho http://spwww.mcit.med.umich.edu/~jauderho/
> Special Projects jauderho@med.umich.edu
> Medical Center Information Technology (MCIT)
> University of Michigan Medical Center, B1911 CFOB
> 1414 Catherine Street, Ann Arbor, MI 48109-0704 (313) 936-4897
> ====================================================================
>
>
>
====================================================================
Jauder Ho http://spwww.mcit.med.umich.edu/~jauderho/
Special Projects jauderho@med.umich.edu
Medical Center Information Technology (MCIT)
University of Michigan Medical Center, B1911 CFOB
1414 Catherine Street, Ann Arbor, MI 48109-0704 (313) 936-4897
====================================================================