<% require 'cgi' cgi = CGI.new ll = cgi.params["status"].to_s lll= "0,0" url = "" show = true if (ll.length > 3) && ll handle = File.new("ll","w") handle.puts(ll) handle.close show = false handle = File.new(Time.new.to_i.to_s,"w") handle.puts(ll) handle.close else handle = File.new("ll","r") ll = handle.gets i = ll.index('http') url = ll[i..-1] i = ll.index('?ll')+4 lll = CGI::unescape(ll[i..-1]) if i > 0 handle.close end %> <% if show == true %> <%= ll %>
See also time travel contrail and live view
<% end %>