From: Derrick Shoemake Date: 2001-01-14T17:40:03+09:00 Subject: [ruby-talk:9272] GD and CGI Would anyone know how to use the require cgi to output an image created with GD in a seperate ruby script? example that doesn't work but shows the concept. #!/usr/bin/env ruby require 'cgi' cgi = CGI.new("html3") cgi.out{ cgi.html{ cgi.head{ "\n"+cgi.title{"This is a ruby test"} } + cgi.body{ "\n"+cgi.h1{ "A Test ruby page" } + cgi.br + cgi.img("/cgi-bin/fills.rb") } } } -Derrick Shoemake