From: Jilani Khaldi Date: 2000-06-11T13:36:49+02:00 Subject: [ruby-talk:03261] Interbase/Ruby in progress, but.. Hi Ruby's, why calling this script form a borwser (http://myserver/cgi-bin/test.rb) gives in out punt only the title: "Interbase -- Ruby Application" #!/usr/local/bin/ruby require "interbase" print "Content-type: text/html\n\n" print "" print " Interbase/Ruby Application" print "" print "

Interbase -- Ruby Application

" print "
" print "Just the First 3 Fields" print "
" conn = InterBase::connect('/ibase/arianna.gdb', 'sysdba', 'masterkey') cursor = conn.execute('select * from fornitori') cursor.each do |record| print "
" print record[0] , "|", record[1], "|", record[2] end cursor.close print "
" print "done!" print "" But, when I execute it locally "./test.rb", I see all the list of values on the screen. Thanks. Jilani