By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,768 Members | 2,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,768 IT Pros & Developers. It's quick & easy.

Regarding Content-type headers

P: n/a

Dear All,

I have doubt regarding headers in cgi
programming. If I gives "Content-Type:text/plain" then
I try to print html contents. Is right or wrong after
giving content-type: text/plain?

regards
Prabahar


__________________________________________________ ________
How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo! Photos http://in.photos.yahoo.com
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
praba kar wrote:
Dear All,

I have doubt regarding headers in cgi
programming. If I gives "Content-Type:text/plain" then
I try to print html contents. Is right or wrong after
giving content-type: text/plain?

regards
Prabahar


It's not wrong, but you won't get the results you want. If you want to
display HTML your should send the content-type: text/html.

regards Ola Natvig
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.