|
Server : LiteSpeed System : Linux server354.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : getfsxkz ( 1681) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/ruby21/lib64/ruby/gems/2.1.0/gems/ruby-lsapi-5.6/examples/ |
Upload File : |
#!/opt/alt/ruby21/bin/ruby
require 'lsapi'
$count = 0;
while LSAPI.accept != nil
print "HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\nHello World! \##{$count}<br>\r\n"
ENV.each_pair {|key, value| print "#{key} is #{value}<br>\r\n" }
$count = $count + 1
end