CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Set Content-Type to text/plain

Print topic Send  topic

Author Message
maxq

Posts: 15
Posted: 05/15/2007, 7:02 AM

Is it possible to set the Content-Type to text/plain? I want a page to return a raw text output, and the browser shows this best if the content type is correct.
View profile  Send private message
Wkempees
Posted: 05/16/2007, 2:40 AM

U2: Open up HELP file and search for META
Walter
Wkempees
Posted: 05/16/2007, 2:53 AM

Sorry, am to fast for my own good.

Open your page in design mode.
Properties->Events OnInititalize View

In the code area put:
header("Content-Type: text/plain");

Check out the ExamplePack that came with CCS, see the ExportToExcel
example for reference.

Walter

maxq

Posts: 15
Posted: 05/16/2007, 3:40 AM

Thanks!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.