how to work with binary data inside a Rev cgi script ?

Mark Smith mark at maseurope.net
Tue Apr 8 07:04:09 EDT 2008


Wow - it'd be interesting to see an example of what revolution messes  
up that PHP doesn't.
I've done a small number of things that involve some working with  
binary data (id3 tags, digital audio), and it's been ok, so I would  
really be interested.

Best,

Mark

On 8 Apr 2008, at 08:57, jbv wrote:

>
>
> Mark,
>
> well, it can mean a lot of things... Presently, as I'm building pdf  
> code
> with data from various sources, basically I need to merge binary with
> ascii data, and then make decisions according to the content of those
> various data (after merging).
> As long as I simply replace a keyword in the ascii data with a portion
> of binary data, the binary data remains untouched... But if I need to
> process the binary data before merging it (like removing some lines
> or changing a single char in it) then it gets corrupted...
> As said in my previous post, I bypassed the problem by making all
> necessary processing in php, but that's a bit frustrating...
>
>> What do you mean by "handle"? What is it you need to do with the
>> binary data?
>>
>> Best,
>>
>> Mark
>>
>> On 7 Apr 2008, at 20:21, jbv wrote:
>>
>>> although I'm still not
>>> sure how to handle binary data inside a Rev cgi script...
>>>
>>> Anyone with an elegant solution is welcomed.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list