[PHP-DB] php.exe Application Error

2002-11-12 Thread Radovan Radic
Hi all,

I have tried this in php.windows, no answers there and since this is kind of
db question i will try here.

IIS Win2000, MSSQL 7, PHP 4.2.3

I have script that reads about 100-200 rows in the SELECT list and it is ok.
After that, i have robust sql query for select some data from 4-5 tables, so
i have to use joins. It returns about 600 rows (in the SQL Query Analyzer it
works) - but in php i get this error:

The instruction at 0x77fcb007 referenced memory at '0x000.
The memory could not be written.
Click on OK to terminate the program
Click on CANCEL to debug the program

Does anyone know what this could be?
On the other server, which has php 4.0.6 this script works without
problems!?
Also, when i have where clause in the query, which reduces number of
retreived rows, mssql_query will work.

Thanks in advance,
Radovan



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] php.exe Application Error. The instruction at 0x77fca2bf referenced memory at 0x32343662. The memory could not be written.

2001-04-03 Thread Jesus Estrada Gil

Hi, I've read the archive looking for a solution for this, I only found
people with the same problem, but no answer...
But.. I'll try.
I have php4.04, Win2k, IIS5 and MS SQL7.0
I've read readme.txt, a thousand of times, I've uncommented
extension=php_mssql70.dll, 
I've copied all the dlls to c:\winnt\system32, I've done every possible
solution given at php.net
even with dl('php_mssql70.dll');
but nothing works, I always get php.exe Application Error. The instruction
at "0x77fca2bf" referenced memory at "0x32343662". The memory could not be
"written".
I read a post about undefined references... well this is my code, tell me if
it's wrong.
 
?

$con = mssql_connect("server","user","pass");  //This works fine
if (mssql_select_db("MexMatch",$con)) {  //this works fine.
 $query= "select * from Usuario";
 $result = mssql_query("select * from usuario",$con);  //I get the error
message here.
 $array = mssql_fetch_array($result);
 echo $array{"Alias"};
 }
mssql_close($con);
 

?

Thanks.
 

 

 http://www.qbien.com/J e s  s   E s t r a d a   G i l
Development Manager   Qnet, S.A. de C.V.   Mexico City
Tel: (52)5209.3535   Fax: (52)5209.3536   [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]



  _  

Advertencia:
Este correo electrnico y cualquier archivo que se transmita junto con l
son confidenciales y para uso exclusivo del individuo o la entidad a la que
van dirigidos. La utilizacin de cualquier informacin contenida en el mismo
por personas no autorizadas puede dar lugar a procesos civiles o criminales,
o ambos. Si usted recibi este correo electrnico por error, favor de
notificar a su gerente de sistemas y al remitente, y destruir todas las
copias de esta misiva.

Aviso de no Responsabilidad:
Es responsabilidad suya escanear esta comunicacin y los archivos adjuntos
para detectar cualquier virus u otro defecto. QNET no acepta ninguna
responsabilidad legal por daos o prdidas (ya sean directos, indirectos, a
consecuencia u econmicos) sin importar la causa, ya sean por negligencia u
otras causas, que puedan surgir como resultado directo o indirecto de esta
comunicacin o los archivos adjuntos. En todo caso, nuestra responsabilidad
se limita al costo de proporcionar de nuevo esta comunicacin.