sunil matte <[EMAIL PROTECTED]> wrote: > But i want > people to be able to save that file.If they do so with > the code then they will have all the <pre> tags.so i > am just wondering if there is some other way to do > it...like writing some instruction in the file that > makes the browser to display the text as it is.
The way to tell the browser that is to send "Content-type: text/plain" instead of "Content-type: text/html". Unfortunately, Microsoft for some reason intentionally includes a bug in IE that causes it to ignore the content type when it's text/plain, assuming that it knows better than the server does what type of file the server is sending. There's no real solution, other than to tell people to get rid of IE and use a browser that follows standards. See http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp -- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs