I have searched the net and the boards but couldn't find what I'm looking for yet, reaching out for some help.
There is probably a better way to do this, but let's just go with what I already have. Users submit a large amount of text into a textarea box.
I want to somehow be able to make the browser think this a text file instead of html. Is there a way to send something as a header to do this so that url.php?id=345 is thought of as a plain text file by the browser?
<pre> isn't what i'm looking for. people are submitting strategy guides and some are loosing formatting. I understand I could have them upload the .txt file but for now I want to go with just copy and paste in the text area.
Here's an example just to llet you know how the browser sees them:
http://www.robsgaming.com/strategies/fullstrategy.php?id=28
you shoudl be able to see how its loosing its formatting..
thanks in advance for any help. oh yeah, weedwhatever guy, again, i searched all over for help with this, so if you are getting angered because this is one of those ALREADY BEEN ANSWERED 10000 TIMES, don't reply to it.