I wrote a script for a website I am making that allows writers of the website to post articles without having to actually open of the files of the web site. I made a web page that has a text area where they can submit there work. Then at the Web site when you click on a link to the article it will use a script to open to textfile and show it on the page 45 lines at a time with a link ot the next 45 lines(so it can fit in the page).
But recently I realized a problem, if you copy and paste alot of text into the textarea it messes the program up since the program splits the lines up by seperating \n charcters. Any ideas?
"If you're traveling in a time machine, and you're eating corn on the cob, I don't think it's going to affect things one way or the other. But here's the point I'm trying to make: Corn on the cob is good, isn't it."