I have a simple script that opens another script as if to edit it and shows it in a <textarea> tag. though sometimes when it shows a script that contains a <textarea> tag the browser reads the contained script as the pages code and closes the <textarea> and shows the remainder as page html.
you get what i'm sayin i think. what i'm wondering is if there is a way for me to when I open a .cgi to take it's contents into an array and filter it so that I can put the @array into a <textarea> tag to show through a browser without it messing anything up.
I'm new and don't know if a special command exists to do this, but i'm looking to see if there is.