Problems Calling Perl CGI Script from Google Earth?
I am trying to call a CGI script from the Network Link feature in Google Earth. I can call the script as long as it doesn't contain any parameters. Google Earth throws a parsing error when it sees the "&" in the URL. Is there a special way to invoke the script if it has parameters in Google Earth? Before I converted the Perl Program to CGI, it ran flawlessly. I had a string variable at the top of it that mimmicked the "$ENV{QUERY_STRING}" when it was the regular perl program. I took it out and replaced it with the real thing. I also added the CGI header line saying what type of application it is. ANy ideas?
I tried using the semicolon, and the parsing error didn't show up. However, it then said that it couldn't connect to the server. Any other ideas???
|