Delete and write within body tags
Posted: Wed Apr 20, 2011 8:39 am
Hi i am wondering if it is possible to open a html document and delete everything between the body tags and then write between them and if so how is that possible?
I know how to read between them with preg_match.
What im trying to do is to use tinymce to edit webpages, i have successfully managed to read everything between the body tags and load it in tinymce and now is the last part to save it.
Help would be very much appreciated.
I know how to read between them with preg_match.
What im trying to do is to use tinymce to edit webpages, i have successfully managed to read everything between the body tags and load it in tinymce and now is the last part to save it.
Help would be very much appreciated.