
 Excentric - 2006-05-31 12:22:21
Thanks for this class!
You can use html tags like <img src="images/logo.gif"> if you add
stripslashes() to example.php and edit.php.
example.php line 16/17
 $codeToBeEdited = stripslashes(file_get_contents('text.txt'));
 $codeToBeEdited2 = stripslashes(file_get_contents('text2.txt'));
edit.php
in both if statements:
                if(fwrite($fp, $content)) {
                        echo stripslashes($content);
Kind regards
Jeroen Wit