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

jbv jbv.silences at
Mon Apr 7 11:39:02 EDT 2008

Hi folks,

I'm trying to insert binary data (generated by a php script via a shell
on the fly into some other data generated by my Rev cgi script to form a

pdf file.
I'm 100% sure that the binary data from php isn't corrupted, but once it

gets inserted in the other data, then I get an error when attempting to
the pdf code in the acrobat plugin of my browser... And I'm also sure
the pdf code generated inside the Rev cgi is correct...
Hence my question : how to work with binary data inside a cgi script
corrupting it ?

I'm on a Linux server with Rev cgi 2.5.


More information about the Use-livecode mailing list