PHP/Oracle Problem > binary fields being returned

Reply

Join Date: Aug 2004
Posts: 12
Reputation: msimonds is an unknown quantity at this point 
Solved Threads: 0
msimonds msimonds is offline Offline
Newbie Poster

PHP/Oracle Problem > binary fields being returned

 
0
  #1
Dec 28th, 2006
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC