ID: 45051
Updated by: [EMAIL PROTECTED]
-Summary: PHP has encountered an Access Violation at 034F10D0
Reported By: glillibridge at yahoo dot com
-Status: Open
+Status: Feedback
Bug Type: ODBC related
Operating System: NT
PHP Version: 5.2.6
New Comment:
I would guess using odbc_connect() works fine..?
Previous Comments:
------------------------------------------------------------------------
[2008-05-20 16:46:01] glillibridge at yahoo dot com
Description:
------------
This is a repost of 45026, now marked bogus. We loaded php 5.2.6 and
still get almost the same problem. The only difference is that the
access violation location has changed.
We are trying to establish a connection to a MAS200 server (also on
NT).
This is the actual php line:
$crs =
odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","","");
Sometimes it works and returns connection identifier.
Most times it returns the message:
PHP has encountered an Access Violation at 034F10D0
This uses an odbc source identified in the web server, using an
internal IP.
Reproduce code:
---------------
$crs =
odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","","");
echo "<br>========" . odbc_error($crs) . "==" . $crs . "========<br>" ;
Expected result:
----------------
<br>========S000==========<br>
Actual result:
--------------
PHP has encountered an Access Violation at 034F10D0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45051&edit=1