MSsql with php

Results 1 to 4 of 4
  1. #1
    Member Smradoch is offline
    MemberRank
    Jun 2014 Join Date
    61Posts

    sad MSsql with php

    Hi, I have problem to select data from warehouse.

    Error Code: Fatal error: Invalid sql_display_size


    Here is code... I tried different style.

    https://hastebin.com/soxinitole.xml

    Can some help me to solve my problem pls? Or show me different solution? how to recive varbinary data from warehouse?.

    EDIT:
    info about php phpinfo()

    php.ini:
    https://hastebin.com/divuporiba.scala


  2. #2
    KarLi is offline
    ModeratorRank
    May 2009 Join Date
    Not in my headLocation
    16,015Posts

    Re: MSsql with php

    'invalid sql_display_size

    This error is common when you have you binary data type and its size is more than 4000.

    Check your data type sizes of your table.'

    https://stackoverflow.com/questions/...isplay-size-in


    not true?

  3. #3
    Member Smradoch is offline
    MemberRank
    Jun 2014 Join Date
    61Posts

    Re: MSsql with php

    Yeah but soloutin is? Somting like convert, var2hex etc...? Or just set max size to 4000 in warehouse table? But its possible to corupt game?

    In older php than 5.6 is funcion mssql_connect() but i have higher verison so?

  4. #4
    KarLi is offline
    ModeratorRank
    May 2009 Join Date
    Not in my headLocation
    16,015Posts

    Re: MSsql with php

    make backup of the db and test by changing max size yeah, experiment..
    i am not sure much about versions differences @MuOnlinewebs @DragonSeth



Advertisement