I have an Oracle SQL database with a CLOB column that holds a great deal of data. I’m running into the issue that a regular PHP string variable will not hold all of the data that I have in the CLOB column. It will only read in 4618 bits, but my file is much larger. The CLOB column has a series of IP addresses in it. What I need to do is parse the CLOB column so I can extract those IP addresses; however, the string variable won’t hold enough data to even get to the portion of the document where the IP addresses are stored. Any thoughts?
Share
Based on your comments:
If you right click in your browser and say “view source” you’ll see that you indeed have the entire file.
Most likely you just need to set the appropriate ContentType when emitting the data back to the browser.