in reply to Re^2: Create a html page on fly
in thread Create a html page on fly

The page gives a 500 internal server error.

A page (html file) shouldn't be giving 500 errors. The program GrandFather supplied generates a page (html file) but it is is not a web (CGI) program so you should expect a 500 error every time -- learn about web pages, cgi, http -- the web

Replies are listed 'Best First'.
Re^4: Create a html page on fly
by mailmeakhila (Sexton) on Mar 19, 2012 at 16:33 UTC
    How can i achieve this? My main page is already a cgi page. Should i be adding another print statement with Content-Type?