|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-26 20:25 UTC] zak@php.net
[2000-08-20 02:08 UTC] sniper@php.net
[2004-05-05 16:33 UTC] bruno dot faust at ig dot com dot br
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 17:00:01 2025 UTC |
I'm getting an 'access violation' whenever I use the mssql_query function - actually, it seems to be most functions, except for connecting and selecting_db. The machine has SP6 I believe (might only be 5), but another one has SP6 and I get the same problem. $temp=mssql_connect("SERVER","db1","password");// or die($phperrmsg); $db=mssql_select_db("db",$temp) or die($phperrmsg); $q=mssql_query("select id from users"); This gives me PHP has encountered an Access Violation at 00000000 running $temp=mssql_connect("SERVER","db1","password");// or die($phperrmsg); $db=mssql_select_db("db",$temp) or die($phperrmsg); //$q=mssql_query("select id from users"); It works fine, but obviously I don't do anything except connect and select. Running THIS (with PCONNECT) $temp=mssql_pconnect("SERVER","db1","password");// or die($phperrmsg); //$db=mssql_select_db("db",$temp) or die($phperrmsg); //$q=mssql_query("select id from users"); Gives me PHP has encountered an Access Violation at 73342F43 A wholly different message from before, and ONLY using pconnect - not doing anything else. The php_mssql70.dll I'm using was from download.swwwing.com build date of 9-6-2000 (june 9, 2000) Also, the only way I can get the php_mssql70.dll to work AT ALL is to be using the PHP Version 4.0.1-dev version from download.swwwing.com as well - the standard distro from php.net (w32 binaries) NEVER worked with php_mssql70.dll. I can't believe I'm the only one with so many problems - the mailing list has people with issues similar to this as well it seems. Please help!