From: James Britt Date: 2009-05-09T07:28:28+09:00 Subject: Re: CGI help Jeff Leggett wrote: > So, I am trying ot read the contents of a file and format the contents > there into a CGI form. At 6PM on A friday hough, I am just not seeing > my errors - appreciate another srt of eyes! > Your file may need to start with a shebang line: #!/usr/local/bin/ruby or whatever the path to ruby on your system is. Also, print out the correct headers http://www.ruby-doc.org/docs/ProgrammingRuby/html/web.html It helps to get the simplest possible CGI script running first, then adding details, since debugging CGI is a painful. -- James Britt www.jamesbritt.com - Playing with Better Toys www.ruby-doc.org - Ruby Help & Documentation www.rubystuff.com - The Ruby Store for Ruby Stuff www.neurogami.com - Smart application development