D
dave
Hy,
This standard test fails on:
server version: Apache/2.0.55
=2D--
require 'cgi'
cgi.out{
cgi.html{
cgi.head{ "\n"+cgi.title{"This Is a Test"} } +
cgi.body{ "\n"+
cgi.form{"\n"+
cgi.hr +
cgi.h1 { "A Form: " } + "\n"+
cgi.textarea("get_text") +"\n"+
cgi.br +
cgi.submit
}
}
}
}
=46rom logs:
=2D--
Premature end of script headers: eruby
/usr/lib/ruby/1.8/cgi.rb:725:in `out'
private method `print' called for "":String
( NoMethodError )
I think it is caused from $DEFAULT_OUTPUT setted to nil.
How can i fix that?
Tnx, regards.
=2D-=20
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Vuoi proteggere la tua casa? Chiedi a Ras come, clicca e fai un preventivo online!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4027&d=31-10
This standard test fails on:
server version: Apache/2.0.55
=2D--
require 'cgi'
cgi.out{
cgi.html{
cgi.head{ "\n"+cgi.title{"This Is a Test"} } +
cgi.body{ "\n"+
cgi.form{"\n"+
cgi.hr +
cgi.h1 { "A Form: " } + "\n"+
cgi.textarea("get_text") +"\n"+
cgi.br +
cgi.submit
}
}
}
}
=46rom logs:
=2D--
Premature end of script headers: eruby
/usr/lib/ruby/1.8/cgi.rb:725:in `out'
private method `print' called for "":String
( NoMethodError )
I think it is caused from $DEFAULT_OUTPUT setted to nil.
How can i fix that?
Tnx, regards.
=2D-=20
horatio, than are dreamt of in your philosophy.here are more things in heaven and earth,
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Vuoi proteggere la tua casa? Chiedi a Ras come, clicca e fai un preventivo online!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4027&d=31-10