Lord MJ
May 19th, 2001, 17:11
First I need to know the code for finding a specific statement in a file and deleting everything above said statement from the file. And the same from deleting everything below a statement.
Also I'm making an upload form that uploads a file, but then text is written to the file. However I don't want it to open and write to image files or music. How do I make sure it only opens text type documents?(HTML, JSP, PHP...)
Also I'm making an upload form that uploads a file, but then text is written to the file. However I don't want it to open and write to image files or music. How do I make sure it only opens text type documents?(HTML, JSP, PHP...)