On Tue, Apr 13, 2010 at 6:00 PM, Bruno Luciani <bruno.luci...@gmail.com> wrote:

> Lorenzo , could you try testcgi sample from test folder in SVN ?

testcgi.prg doesn't work.

Try to compile the code below and put it in your cgi-bir dir.

procedure main(...)

  local s_cNewLine := HB_OSNewLine()

  outstd( "CONTENT-TYPE: TEXT/HTML" + s_cNewLine + s_cNewLine )
  outstd( "<HTML><HEAD>" + s_cNewLine + ;
      "<TITLE>" + hb_pValue(1) + "</TITLE>" + s_cNewLine + ;
      "<BODY>" + "Hello World!" + s_cNewLine + ;
      "</BODY></HTML>" )

return

best regards,
Lorenzo
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to