Cgi and pdf/xml

How to return xml or pdf files via cgi interface?

I dynamically create these and want to return them just like I do it with
html.
How?

Many thanks in advance.

=leechie

···


+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

Just generate the right MIME headers. For XML see RFC 3023, most likely you
will want to generate

Content-Type: text/xml
or
Content-Type: application/xml

PDF is, I believe, "application/pdf"

Regards,

Brian.

···

On Fri, Feb 07, 2003 at 05:12:22PM +0900, leechie@gmx.de wrote:

How to return xml or pdf files via cgi interface?

I dynamically create these and want to return them just like I do it with
html.
How?