RE: [PHP] Is PHP cable of handling ASCII characters???

2003-08-14 Thread Jay Blanchard
[snip] Is PHP cable of handling the ASCII characters? Back then, I had no problem with it when there are 'a', 'b', 'c' characters as well as 'LF', 'CR', etc. But when there is a 'NUL' character, it tripped up PHP so I am wondering if ASCII characters is fully supported. [/snip] How is the NU

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-14 Thread Scott Fletcher
Yea, cURL can handle ASCII characters. It been working for a couple of years. The first clipping is a sample PHP code. The 2nd clipping is the result of the data in ASCII characters, most of the data inside the CDATA is removed for security reason. The 3rd clipping is the result of a PHP array

[PHP] Is PHP cable of handling ASCII characters???

2003-08-14 Thread Scott Fletcher
Hi! Is PHP cable of handling the ASCII characters? Back then, I had no problem with it when there are 'a', 'b', 'c' characters as well as 'LF', 'CR', etc. But when there is a 'NUL' character, it tripped up PHP so I am wondering if ASCII characters is fully supported. Thanks, Scott -- P

RE: [PHP] Is PHP cable of handling ASCII characters???

2003-08-09 Thread Jay Blanchard
[snip] Yea, receiving the data in a serial stream through cURL from someplace into an array() by using exec() function. [/snip] I would suggest receiving the data intact, explode into an array, and then go from there. That eliminates any serialization issue. -- PHP General Mailing List (http://ww

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-09 Thread Scott Fletcher
Yea, receiving the data in a serial stream through cURL from someplace into an array() by using exec() function. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Is PHP cable of handling the ASCII characters? Back then, I had no problem with it when there are

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-09 Thread Scott Fletcher
I don't see how. The data when recevied is already in pieces through the exec() to PHP which convert the PHP variable into an array. Can not store the data into a file on the machine because it is illegal to do so. >"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >[s

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-09 Thread Curt Zirzow
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > Yea, receiving the data in a serial stream through cURL from someplace into > an array() by using exec() function. PHP is in general can handle binary strings, now if cURL can handle it is a different story. Of course I'm stabbing in the dark at