cleansedbb
Technical User
I have several log files which are in this format:
logfile1.log
<script LANGUAGE="Javascript"> if (parent.frames[2].ignore.indexOf("|NickName|"
== -1) {document.write('<font color=color><B><big>NickName</big></B> - Message</font><br>'); } </script>
I tried a
$line1 = "<script LANGUAGE="Javascript"> if (parent.frames[2].ignore.indexOf("|";
$line2 = "|"
== -1) {document.write('";
$line3 = "'); } </script>";
$mystr = strtr($addr, "$lin1", " "
;
$mystr = strtr($addr, "$lin2", " "
;
$mystr = strtr($addr, "$lin3", " "
;
all I get is the first < being changed to a square block?
also how would I replace the NickName in |Nickname| ?
would I check for that first then remove the rest of the javascript strings?
Thanks for any help you can give me.
logfile1.log
<script LANGUAGE="Javascript"> if (parent.frames[2].ignore.indexOf("|NickName|"
I tried a
$line1 = "<script LANGUAGE="Javascript"> if (parent.frames[2].ignore.indexOf("|";
$line2 = "|"
$line3 = "'); } </script>";
$mystr = strtr($addr, "$lin1", " "
$mystr = strtr($addr, "$lin2", " "
$mystr = strtr($addr, "$lin3", " "
all I get is the first < being changed to a square block?
also how would I replace the NickName in |Nickname| ?
would I check for that first then remove the rest of the javascript strings?
Thanks for any help you can give me.