I try to create web of regist

Results 1 to 6 of 6
  1. #1
    Member rapolo is offline
    MemberRank
    Feb 2008 Join Date
    55Posts

    I try to create web of regist

    SOMEBODY CAN HELP ME WITH THIS ERROR

    Fatal error: Call to undefined function mssql_connect() in D:\Archivos_de_programa\wamp\www\rebirthreg\idcheck.php on line 29

    I GO TO THE FILE IDCHECK.PHP LOOK LINE 29 IT LOOKS LIKE THIS

    $msconnect=mssql_connect("$dbhost","$dbuser","$dbpasswd");

    WHAT I HAVE TO PUT IN THIS LINE PLEASE HELP ME


  2. #2
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: I try to create web of regist

    Your PHP cannot connect to MSSQL. Do you use 2005?

    Check these lines in your PHP.ini...

    extension=php_mssql.dll

    It should have no ; at the start.

    Code:
    [MSSQL]
    ; Allow or prevent persistent links.
    mssql.allow_persistent = On
    
    ; Maximum number of persistent links.  -1 means no limit.
    mssql.max_persistent = -1
    
    ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    mssql.max_links = -1
    
    ; Minimum error severity to display.
    mssql.min_error_severity = 10
    
    ; Minimum message severity to display.
    mssql.min_message_severity = 10
    
    ; Compatability mode with old versions of PHP 3.0.
    mssql.compatability_mode = Off
    
    ; Connect timeout
    ;mssql.connect_timeout = 5
    
    ; Query timeout
    ;mssql.timeout = 60
    
    ; Valid range 0 - 2147483647.  Default = 4096.
    ;mssql.textlimit = 4096
    
    ; Valid range 0 - 2147483647.  Default = 4096.
    ;mssql.textsize = 4096
    
    ; Limits the number of records in each batch.  0 = all records in one batch.
    ;mssql.batchsize = 0
    
    ; Specify how datetime and datetim4 columns are returned
    ; On => Returns data converted to SQL server settings
    ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ;mssql.datetimeconvert = On
    
    ; Use NT authentication when connecting to the server
    mssql.secure_connection = Off
    
    ; Specify max number of processes. -1 = library default
    ; msdlib defaults to 25
    ; FreeTDS defaults to 4096
    ;mssql.max_procs = -1
    Set yours like that. If you use windows authentication set mssql.secure_connection = On but if you type a username/password to access MSSQL set it to Off.

    Another way is to use "freetds for windows". Google it and you will find a nice tutorial in the Moodle documentation.
    http://docs.moodle.org/en/Installing_MSSQL_for_PHP

  3. #3
    Member rapolo is offline
    MemberRank
    Feb 2008 Join Date
    55Posts

    Re: I try to create web of regist

    yes i have the same set what you show me rigth but still give me the same error

    Edit
    sorry i corret it but give me another error i will look in for to this section because i think i saw the solution

    Edit-2
    in the file index.php in line 15 i put this
    $link = mssql_connect(10.0.0.7, sa, 123456);
    is correct ? i think no because give me this error what i have to put there ?

    Edit-3
    thx i correct its work thx a lot
    now i will work with your webshop
    i think waht i going need you agan

  4. #4
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: I try to create web of regist

    You need to put quotes around the values like this...

    $link = mssql_connect('10.0.0.7', 'sa', '123456');

  5. #5
    Proficient Member nzamkdh is offline
    MemberRank
    Feb 2009 Join Date
    AsianLocation
    173Posts

    Re: I try to create web of regist

    i cgange like this but still can't :(

    /index.php on line 26

  6. #6
    Account Upgraded | Title Enabled! MisterMinister is offline
    MemberRank
    May 2009 Join Date
    Pontus FerrumLocation
    250Posts

    Re: I try to create web of regist

    WOW...

    What a _Usefull BUMP...

    1: Language = Totally Failed...

    2: To bump a Thread which is 2 Years Old is Highly Professional..

    3: NO..You Cant CGANGE Anything..

    Regards



Advertisement