What I need to do is have php open a text file by using html forms. But, i'm not sure what to use? I have many text files, all different sizes from 1kb, to 20kb.
fgets() needs a file size, and fgetss() strips html tags unless you use 'allowable_tags', but from what I hear that doesn't work to good. To open/save text files into an html textarea form, what is the best way to go?