Getting a URL with CGI

Date: Tue, 12 Nov 1996 12:30:13 +0000
From: "Jeff Barnum" 
Subject: Re: Gettin' the ole URL
You can use the following CGI script to return the page:

--- begin perl
#!/usr/bin/perl

$refer_page = $ENV{'HTTP_REFERER'};
print "Content-type:text/plain\n\n$refer_page";
--- end perl



and then use:

--- begin Lingo

on StartMovie
  global thispage
  getNetText("/cgi-bin/refer.cgi")
  
   -- wait for net text to respond
  put NetTextResult() into thispage
   -- put the result into the variable - muncge it if need be

end
--- end Lingo