If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
done..now chat pages becomes confused at the bottom with only text strings and before every usernick /message appears this : string(3 .string(81 ) ,etc . always with a different numbers
inside ()
There seems to be too many places in your script that adjusts your $_GETs and $_POSTs to escape them, which is creating double escape.
So then when you use stripslashes() it only remove 1 of the slashes.
no... i don't understand how to do for try to var_dump $chat[3], then post the result by wapxtech
In your php file do this: echo var_dump($chat[3]); - then access the URL from your browser and you will see some codes printing out or maybe not, then copy whatever that prints out and come paste it back here for us to review.
Does it do it on all style chat rooms or is it just on the censored chat rooms?
as may need to add: $text = stripslashes($text); into the function gettbbcode() rather than parsepm()
:
if($rinfo[0]==0){$tosay = getbbcode($chat[3], $sid, 0); //IF room is censored add bb code but not parse pm
Leave a comment: