cleansedbb
Technical User
I want to remove the following from the scripts. I am planning to use str_replace to remove it but how would I replace the duplicated user name in the following |username|?
$textbg = str_replace("<script LANGUAGE=\"Javascript\"> if (parent.frames[2].ignore.indexOf(\"", "", "$text"
$textmid = str_replace("|\" == -1) {document.write(\'","","$test"
$textend = str_replace("\'); } </script>"
<script LANGUAGE="Javascript"> if (parent.frames[2].ignore.indexOf("|UserName|" == -1) {document.write('<font color=Aliceblue><B><big>UserName</big></B> - Message text</font><br>'); } </script>
$textbg = str_replace("<script LANGUAGE=\"Javascript\"> if (parent.frames[2].ignore.indexOf(\"", "", "$text"
$textmid = str_replace("|\" == -1) {document.write(\'","","$test"
$textend = str_replace("\'); } </script>"
<script LANGUAGE="Javascript"> if (parent.frames[2].ignore.indexOf("|UserName|" == -1) {document.write('<font color=Aliceblue><B><big>UserName</big></B> - Message text</font><br>'); } </script>