note 114719 added to ref.recode
| From: | henrique at augusto dot com | Date: | Fri, 28 Mar 2014 11:08:33 +0000 |
| Subject: | note 114719 added to ref.recode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199062@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/ref.recode.php
Edit -- https://master.php.net/note/edit/114719
Del: integrated -- https://master.php.net/note/delete/114719/integrated
Del: useless -- https://master.php.net/note/delete/114719/useless
Del: bad code -- https://master.php.net/note/delete/114719/bad+code
Del: spam -- https://master.php.net/note/delete/114719/spam
Del: non-english -- https://master.php.net/note/delete/114719/non-english
Del: in docs -- https://master.php.net/note/delete/114719/in+docs
Del: other reasons-- https://master.php.net/note/delete/114719
Reject -- https://master.php.net/note/reject/114719
Search -- https://master.php.net/manage/user-notes.php