Mega Code Archive

 
Categories / Ruby / CGI
 

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"