I try to create web of regist

Newbie Spellweaver
Joined
Feb 14, 2008
Messages
63
Reaction score
0
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
 
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.
 
Upvote 0
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
 
Upvote 0
Back