note 114720 added to book.uodbc

From: Date: Fri, 28 Mar 2014 11:37:14 +0000
Subject: note 114720 added to book.uodbc
Groups: php.notes 
Request: Send a blank email to php-notes+get-199063@lists.php.net to get a copy of this message
I have problems with php5-recode and php5-odbc. With both packages installed, odbc_execute() hangs up causing Segmentation Fault. I was using a simple script to test that: <?php #DSN "mydb" with a user and password "marin" $connect = odbc_connect("myaccess", "", ""); # query the users table for name and surname $query = "SELECT * FROM FRT_NAME"; # perform the query $result = odbc_exec($connect, $query); # fetch the data from the database while(odbc_fetch_row($result)){ $name = odbc_result($result, 2); print("$name\n"); } # close the connection odbc_close($connect); ?> After uninstalling php5-recode, the issue is solved. ---- Server IP: 72.52.91.14 Probable Submitter: 177.180.203.35 ---- Manual Page -- http://php.net/manual/en/book.uodbc.php Edit -- https://master.php.net/note/edit/114720 Del: integrated -- https://master.php.net/note/delete/114720/integrated Del: useless -- https://master.php.net/note/delete/114720/useless Del: bad code -- https://master.php.net/note/delete/114720/bad+code Del: spam -- https://master.php.net/note/delete/114720/spam Del: non-english -- https://master.php.net/note/delete/114720/non-english Del: in docs -- https://master.php.net/note/delete/114720/in+docs Del: other reasons-- https://master.php.net/note/delete/114720 Reject -- https://master.php.net/note/reject/114720 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199063) next »