scripts/htdocs/cgi-bin/env.rb
casjay 9b376b0fd6
🦈🏠🐜 Initial Commit 🐜🦈🏠
2023-04-06 19:28:01 -04:00

8 lines
282 B
Ruby
Executable File

#!/usr/bin/env ruby
# -*- coding: None -*-
require 'cgi' //cgi file to create a simple cgi object.
cgi = CGI.new //instantiating a cgi object.
puts cgi.header //thats telling the server about the type(html).
puts "hello" // thats the output on the browser.