Writing CGI Scripts : CGI « CGI « Ruby






Writing CGI Scripts



#!/usr/bin/ruby 
print "Contenttype: 
text/html\r\n\r\n" 
print "<html><body>Hello World! It's #{Time.now}</body></html>\r\n" 

 








Related examples in the same category

1.A Basic CGI Script