> what he really needs is to completely remove <script>...</script>, plus > many many other examples. > > completely removing everything outside the body would be another option, > perhaps saving the contents of <title>...</title>
since a <script> might also occur inside the body, this would not really work out as meant. Sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php