> It appears that it's just dumping the raw file to the browser, but with a
> mime type of text/html, which presumably is why it's trying to make
> something of the tags. If it were to return text/plain it may help.
> Alternatively send it as text/html, but enclose the actual data in pre
> tags so that it can just be cut and pasted into a file without being
> mangled by anything.

I had looked into that when I wrote Aero-Matic, but I couldn't find a method 
in PHP  to make the server change the mime type without adding some mime-type 
code to the output, which FlightGear would then not be able to parse.

I was learning PHP as I went along, so I may have missed something.  What I 
would need to do is have the script communicate directly to the server, 
rather than through the document it's writing.  Although I don't see how the 
browser would gain knowledge of the mime type unless it's contained in the 
document.

I know document delivery is a weak link in Aero-Matic.  An alternative is to 
email the output, but that's too slow.  Another is to make Aero-Matic into a 
client-side app, and not have to deal with http.  Another is to keep a 
database of browsers and settings that play nice .

Dave
-- 
****************************
David Culp
davidculp2[at]comcast.net
****************************

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to