Re: [phplib] mssql From: Enrique Motilla (emotilla <email protected>)
Date: 12/27/00

Hi Abdel!

I have a configuration similar to the one you have (but with win2000) and
should have the same problems I encountered with phplib. I was lucky that I
had it working previously with php3, ms access and PWS, and I made the
migration bit by bit until it worked...
I had to make a few changes to the phplib to make it work again, but now it
works and it is very fast. Don't worry :)
First try that the php4ts.dll is in the windows directory, the extensions
are loaded (without the semicolon) and the paths are set properly.
Chech that the phpinfo() funtion returns the info about mssql and the
version matches.
And then edit the local.inc and the dbmssql.inc have the proper host and
usernames, (there is a function in the bdmssql.inc that is not implemented
properly...see below)

-------------------from the file
db_mssql.inc----------------------------------------------------------------
-
  function affected_rows() {
   $rsRows = mssql_query("select @ <email protected> as rows");
    return mssql_result($rsRows, 0, "rows");
 // return mssql_affected_rows($this->Query_ID); ///function does not
exists in mssql
 //--------- http://www.php.net/manual/admin-notes.php?last_entry=1750
//page with reference of this
  }
----------------------------------------------------------------------------
----------------------------------

Hope this helps a little, if I can help more don't hesitate in contacting me
(from Jan 2 onwards),
Regards

Enrique Motilla

----- Original Message -----
From: "abdel" <abdel <email protected>>
To: <phplib <email protected>>
Sent: Tuesday, December 26, 2000 3:27 AM
Subject: [phplib] mssql

> hello
>
> i use NT4, php 4.0.1pl2, and phplib 7.2
> i have some problem with mssql.
> php + mssql ==> work
> php +mssql +phplib ==> not work and iis fail and the machine is very
> slow
>
> thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>