From:             [EMAIL PROTECTED]
Operating system: Win 2000 w/SP 2
PHP version:      4.0.5
PHP Bug Type:     MSSQL related
Bug description:  mssql_pconnect fails

Hey.

It seems there is a problem with mssql_pconnect and connecting to an
outside databases.  If the database, PHP, and web server are all running on
the same machine, pconnnect works just fine with no errors.  If the
database is external, the pconnect will succeed the first time, but fail for
subsequent tries with a PHP access violation error message.  The pconnect
is connecting to a MS SQL 7 server via the server IP address, userid, and
password combination.

Two things seem to cause the connection not to break:  switch the
mssql_pconnect command to mssql_connect or have the database, PHP, and web
server all be the same machine.

Please email me if more information is needed to help solve this
problem.  PHP is wonderful!!  Thank you and have a nice day!

Kris.





-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to