At 12:38 PM 2/29/96, Tim Broderick wrote: >>>From: hal@dtor.com (Hal Wine) >>>At 10:14 96-02-28, Tim Broderick wrote: >>>>MAIN: >>>>{ >>>> >>>>&ReadParse; >>>> >>>>print "$try{$in{'selecturl'}}" >>>> >>>>} >>> >>>You're missing a print line that I think the Mac CGI glue adds. Add: >>> print "Content-Type: text/html\n"; >>>before your current print statement. >> >>Ahem. Make that >> >>print "Content-Type: text/html\n\n"; >> >> -- M. > >"DOE!" -- Homer Simpson > > >Nope, still get the same message. >Server log includes: terminated without a valid cgi header ... did not >produce a valid header... > >So I'm not sure what THAT means. Try typing it on the command line and testing it OUTSIDE of the httpd. Like in UNIX, type "perl filename" on the command line and see if the 1st line printed out is "content-type: text/html", with a blank line, then your text data. If not, then there's the problem! More than likely, its a bug in the script - typo, missing statement, missing something. Shawn. ###################################################################### # Freelance HTML/Graphics/Programmer # # In Jersey: The Digital Information Network of the Garden State # # http://www.injersey.com/ # ###################################################################### # http://puma.bevd.blacksburg.va.us/~spearce/ : home of the # # MacBSD User Survey # # http://nj5.injersey.com/~spearce/ : home of Phantom/WS for WebStar # ######################################################################