954,184 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP/Oracle Problem > binary fields being returned

I was wondering if maybe someone could shed a light on something for me.

I am performing the same SELECT Statement from Oracle on two servers via a simple export script.

Server one:

My Localhost
Apache/2.2.0 (Win32) PHP/5.1.2 from a RAW field and it is returning the ascii characters, which is what I am trying to do. So this script is performing the extract correctly


The data is being extracted from one table, two rows:
Row one is RAW
Row Two is VARCHAR2

Data in the CSV file is being extracted to a CSV file
Extract is:
row one > 000000000000121C
row two > Sanmina SCI

Server Two:
Apache/2.0.52 (Red Hat) PHP/5.2

Data in the CSV file is being extracted to a CSV file
Extract is:
row one >
row two > Sanmina SCI

I understand that row one is being extracted is a binary field but I want the extraction to work exactly as my localhost. Is it something in the PHP.ini file or do I need to compile PHP in a different way. I thought that it had to do with mbstring.


Has anyone ever incurred this before or can someone please shed some light on this!
TIA

Mike
Dallas Semiconductor

msimonds
Newbie Poster
13 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You