conec.php problem connecting to my database.

Results 1 to 8 of 8
  1. #1
    Enthusiast DEMONbunta is offline
    MemberRank
    Sep 2009 Join Date
    27Posts

    sad conec.php problem connecting to my database.

    this is the error.



    and this is the php code by sir yagamy.



    I already checked also my username and password by logging in to my database.





    I hope someone can help my problem. thanks in advance.


  2. #2
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: conec.php problem connecting to my database.

    this web have 3 conec.php, in the screenshot the error say:
    C:\xampp\htdocs\registro\ajax\conec.php

    The 3 conec files are in:
    - C:\xampp\htdocs\conec.php
    - C:\xampp\htdocs\registro\conec.php
    - C:\xampp\htdocs\registro\ajax\conec.php

    You need edit this 3 files and allow mssql in:
    C:\xampp\php\php.ini

    find
    ;extension=php_mssql.dll
    and replace by
    extension=php_mssql.dll

  3. #3
    Enthusiast DEMONbunta is offline
    MemberRank
    Sep 2009 Join Date
    27Posts

    Re: conec.php problem connecting to my database.

    Quote Originally Posted by John View Post
    this web have 3 conec.php, in the screenshot the error say:
    C:\xampp\htdocs\registro\ajax\conec.php

    The 3 conec files are in:
    - C:\xampp\htdocs\conec.php
    - C:\xampp\htdocs\registro\conec.php
    - C:\xampp\htdocs\registro\ajax\conec.php

    You need edit this 3 files and allow mssql in:
    C:\xampp\php\php.ini

    find


    and replace by
    after I replace this is the error sir.. and still my php file cant connect to my database. any solution sir? :(


  4. #4
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: conec.php problem connecting to my database.

    test with this patch
    Attached Files Attached Files

  5. #5
    Enthusiast DEMONbunta is offline
    MemberRank
    Sep 2009 Join Date
    27Posts

    Re: conec.php problem connecting to my database.

    Quote Originally Posted by John View Post
    test with this patch
    where would i put the ntwdblib.dll sir?

  6. #6
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: conec.php problem connecting to my database.

    Paste php folder (of the patch) into xampp folder.

  7. #7
    Account Upgraded | Title Enabled! sonrio is offline
    MemberRank
    Sep 2009 Join Date
    Mandara 0Location
    231Posts

    Re: conec.php problem connecting to my database.

    i am following this... this patched resolved Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server but now i have a blank browser lol. still configuring out this one. its been years since i stop in this project but now trying to continue again and starting from scratch ;)

    edited:

    still Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server persist lol...

    SOLVED!

    C:\xampp\php\php.ini

    find
    ;extension=php_pdo_mssql.dll
    replace by
    extension=php_pdo_mssql.dll
    Last edited by sonrio; 08-10-15 at 09:30 PM.

  8. #8
    Apprentice YAGAMY is offline
    MemberRank
    Mar 2013 Join Date
    6Posts

    Re: conec.php problem connecting to my database.

    Quote Originally Posted by John View Post
    this web have 3 conec.php, in the screenshot the error say:
    C:\xampp\htdocs\registro\ajax\conec.php

    The 3 conec files are in:
    - C:\xampp\htdocs\conec.php
    - C:\xampp\htdocs\registro\conec.php
    - C:\xampp\htdocs\registro\ajax\conec.php

    You need edit this 3 files and allow mssql in:
    C:\xampp\php\php.ini

    find


    and replace by
    Esto es lo correcto ;)



Advertisement