How to make your register page work!

Page 2 of 6 FirstFirst 123456 LastLast
Results 16 to 30 of 86
  1. #16
    Enthusiast Krov is offline
    MemberRank
    Jun 2006 Join Date
    Up In SpaceLocation
    34Posts
    so do you know how to take it out? because i do not want to mess it up...Can you show me a way to take it out and leave whats suppose to be in there?

  2. #17
    MorbidA Tyfix is offline
    MemberRank
    May 2006 Join Date
    DenmarkLocation
    1,952Posts
    Uhm where is this table?

    Anyways change your select statement to check for name instead of id.

  3. #18
    Enthusiast Krov is offline
    MemberRank
    Jun 2006 Join Date
    Up In SpaceLocation
    34Posts
    $check_code_query = "select adm_check from MEMB_INFO WHERE memb___id='$adm_uss' ";
    $check_query_result = mssql_query( $check_code_query );
    $code_check = mssql_fetch_row( $check_query_result );

    $sql_security_check = mssql_query("SELECT security_code FROM MEMB_INFO WHERE security_code='$security' and memb___id='$adm_uss' ");

    $security_check = mssql_num_rows($sql_security_check);
    Thats the part i'm having problems with...do you know how to fix it? thats my table.. and here what it came out on the website of my MU.

    Warning: mssql_query() [function.mssql-query]: message: Syntax error converting the varchar value 'Krov' to a column of data type int. (severity 16) in c:\AppServ\www\modules\loginin.php on line 156

    Warning: mssql_query() [function.mssql-query]: Query failed in c:\AppServ\www\modules\loginin.php on line 156

    Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in c:\AppServ\www\modules\loginin.php on line 157
    Error: Only Administrator can do this!
    Last edited by Krov; 26-06-06 at 03:48 AM.

  4. #19
    MorbidA Tyfix is offline
    MemberRank
    May 2006 Join Date
    DenmarkLocation
    1,952Posts
    Well the thing is i don't recognize any of these databases/tables you are writing about.. Maybe im out of the loop hehe

  5. #20
    Enthusiast Krov is offline
    MemberRank
    Jun 2006 Join Date
    Up In SpaceLocation
    34Posts
    its from the modules/loginin.php foulder in the apacheserv folder.

  6. #21
    MorbidA Tyfix is offline
    MemberRank
    May 2006 Join Date
    DenmarkLocation
    1,952Posts
    ohh i see.. I never used it, im using a normal apache version with php but i'll download it and check.

  7. #22
    Enthusiast Krov is offline
    MemberRank
    Jun 2006 Join Date
    Up In SpaceLocation
    34Posts
    ahh, well if u know anyone that knows how to make it work..let me know please.

  8. #23
    Valued Member ken8864 is offline
    MemberRank
    Jun 2006 Join Date
    113Posts
    beside, you need to change your default path for extension under php.ini
    from "./" to ".\ext"
    actually you got to edit the config.php file, 2nd, you need to download a file call
    libmssql.dll and put it under your php default folder (e.g c:\php\) inorder to run.

    forgive me, i also dont know where can i get the file naamed "libmssql.dll", coz it is not provided by php due to mssql licensing issue.
    Last edited by ken8864; 26-06-06 at 08:19 AM. Reason: Automerged Doublepost

  9. #24
    Alpha Member john_d is offline
    MemberRank
    Feb 2004 Join Date
    PhilippinesLocation
    2,868Posts
    Quote Originally Posted by ken8864
    beside, you need to change your default path for extension under php.ini
    from "./" to ".\ext"
    actually you got to edit the config.php file, 2nd, you need to download a file call
    libmssql.dll and put it under your php default folder (e.g c:\php\) inorder to run.

    forgive me, i also dont know where can i get the file naamed "libmssql.dll", coz it is not provided by php due to mssql licensing issue.
    that is not a problem...
    his problem is SQL based

    he is trying to do a

    select * from table where INT = 'hello'

    well that will never work

  10. #25
    Enthusiast Krov is offline
    MemberRank
    Jun 2006 Join Date
    Up In SpaceLocation
    34Posts
    I Have no clue what are you talking about, so please can u explain more clearly for me to understand.

  11. #26
    Valued Member ken8864 is offline
    MemberRank
    Jun 2006 Join Date
    113Posts
    ERROR:
    Unable to load dynamic library '.\php_mssql.dll' - The specified procedure could not be found. in Unknown on line 0
    may be some one can tell how to solve this problem...

  12. #27
    Enthusiast Krov is offline
    MemberRank
    Jun 2006 Join Date
    Up In SpaceLocation
    34Posts
    so like nobody would know anything or how to fix that problem?

    Warning: mssql_query() [function.mssql-query]: message: Syntax error converting the varchar value 'krov' to a column of data type int. (severity 16) in c:\AppServ\www\modules\loginin.php on line 156

    Warning: mssql_query() [function.mssql-query]: Query failed in c:\AppServ\www\modules\loginin.php on line 156

    Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in c:\AppServ\www\modules\loginin.php on line 157
    Error: Only Administrator can do this

    Here is the code for that part...

    $sql_security_check = mssql_query("SELECT security_code FROM MEMB_INFO WHERE security_code='$security' and memb___id='$adm_uss' ");
    $security_check = mssql_num_rows($sql_security_check);

  13. #28
    Banned rzryl2 is offline
    BannedRank
    Jul 2005 Join Date
    www.kron1x.comLocation
    1,652Posts
    Open %windir%\PHP.ini (in most cases C:\WINDOWS\PHP.ini) and Ctrl+F to

    ;extension=php_mssql.dll

    Remove the ; at the start and save the file, then restart Apache.. If you dont know how just reboot ur PC...

  14. #29
    Member boydverbeek is offline
    MemberRank
    Oct 2005 Join Date
    HollandLocation
    59Posts
    yea already found that out and it works now but thnx for reply

  15. #30
    Gamma [GR]SiLvER is offline
    MemberRank
    May 2005 Join Date
    GreeceLocation
    3,074Posts
    PFFFT, if you read the guide carefully you wouldn't get Fatal error: Call to undefined function: mssql_connect() in xxxx, posts like that will be deleted..



Page 2 of 6 FirstFirst 123456 LastLast

Advertisement