T
Tom Allison
Under CGI I can create a cgi object like:
cgi = CGI.new("html4")
and have methods available to me like .head, .body, and so on.
Under FCGI the cgi is created for me.
I don't see any way to make any CGI methods available to me so that I
can write an FCGI script like:
FCGI.each_cgi do |cgi|
cgi.out{
cgi.html {
cgi.head{ "\n" + cgi.title("This is a Test"} } +
cgi.body{ "\n" + "<p>This is indeed a test..</p>"}
}
}
end
it complains that .html is unkown.
I can't seem to find any class methods to set this up.
Am I really relegated to writing everything under FCGI as just cgi.out{ } ?
cgi = CGI.new("html4")
and have methods available to me like .head, .body, and so on.
Under FCGI the cgi is created for me.
I don't see any way to make any CGI methods available to me so that I
can write an FCGI script like:
FCGI.each_cgi do |cgi|
cgi.out{
cgi.html {
cgi.head{ "\n" + cgi.title("This is a Test"} } +
cgi.body{ "\n" + "<p>This is indeed a test..</p>"}
}
}
end
it complains that .html is unkown.
I can't seem to find any class methods to set this up.
Am I really relegated to writing everything under FCGI as just cgi.out{ } ?