php 5.2 problem with lavalair xhtml

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • honkytonkman
    replied
    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 ()

    Leave a comment:


  • something else
    replied
    var_dump $chat[3],

    needs to be below this line:
    PHP Code:
    while($chat = mysql_fetch_array($chats))
    { 



    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.




    Leave a comment:


  • honkytonkman
    replied
    done it ,now at the top of the chat page appears this: NULL
    ..page show normally and messages goes except if i use words as l'alba

    Leave a comment:


  • icedroplet1987
    commented on 's reply
    Yup, bt he isnt in mood to go through anykinda work which takes time :D

  • andre3
    replied
    Originally posted by honkytonkman View Post

    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.

    Leave a comment:


  • honkytonkman
    replied
    Originally posted by andre3 View Post



    Did you ever get this working ?
    no... i don't understand how to do for try to var_dump $chat[3], then post the result by wapxtech

    Leave a comment:


  • andre3
    replied
    Originally posted by honkytonkman View Post

    same as before..text don't appears... i give up , ain't no way to fix it


    Did you ever get this working ?

    Leave a comment:


  • andre3
    replied
    good ole Lavalair, brings back so many memories...

    Leave a comment:


  • honkytonkman
    replied
    Originally posted by wapxtech View Post


    try to var_dump $chat[3], then post the result

    stripslashes shouldwork, maybe you are using htmlentities() or something
    var_dump$chat[3] ..where?

    Leave a comment:


  • wapxtech
    replied
    Originally posted by honkytonkman View Post

    same as before..text don't appears... i give up , ain't no way to fix it

    try to var_dump $chat[3], then post the result

    stripslashes shouldwork, maybe you are using htmlentities() or something

    Leave a comment:


  • centi
    replied
    you have a very old ver of lava bro.. install mobile zones last ver or wapdesire v3 then, try to build it from there

    Leave a comment:


  • honkytonkman
    replied
    Originally posted by something else View Post
    if($rinfo[0]==0){$tosay = getbbcode(stripslashes($chat[3]), $sid, 0);
    same as before..text don't appears... i give up , ain't no way to fix it

    Leave a comment:


  • something else
    replied
    if($rinfo[0]==0){$tosay = getbbcode(stripslashes($chat[3]), $sid, 0);

    Leave a comment:


  • honkytonkman
    replied
    i try like this

    else{




    $text = stripslashes($text);

    $tosay = parsepm($chat[3], $sid, 1);}
    if($rinfo[1]==1){$tosay = strrev($tosay);}


    and like this

    else{
    if($rinfo[0]==0){$tosay = getbbcode($chat[3], $sid, 0);

    $text = stripslashes($text);




    }


    else{




    $text = stripslashes($text);

    $tosay = parsepm($chat[3], $sid, 1);}
    if($rinfo[1]==1){$tosay = strrev($tosay);}

    but nothing change..in all kind of rooms
    Last edited by honkytonkman; 17.03.16, 11:37.

    Leave a comment:


  • something else
    replied
    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:

Working...
X