Nyem
I've never worked with this but there is a <RCEcontent_type> which you
might be able to use. 

<RCif RC$content_type = text/html><RC$content_type = htm>
<RCelseif RC$content_type = text/plain><RC$content_type = txt>
<RCelseif RCRC$content_type = text/csv><RC$content_type = txt><RCendif>

Good luck.

Peter

-----Original Message-----
From: nyem <[EMAIL PROTECTED]>
To: "sambar List Member"  <[EMAIL PROTECTED]>
Date: Wed, 14 Apr 2004 12:02:55 +0800
Subject: [sambar] how to send different Content-Type with stm script?

> I'm using stm script to execute sql query from a DBMS. It can generate 
> different formats (csv, txt, html) based on user requests. How do I 
> change the default content-type generated by stm (text/html) to other 
> format (text/plain, etc)? This has to be done from within the stm
> script 
> itself, not on the server setting.
> 
> - nyem
> 
> 
> 
> -------------------------------------------------------
> To unsubscribe please go to http://www.sambar.ch/list/
> 
> 

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to