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

jbv jbv.silences at club-internet.fr
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
call)
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
read
the pdf code in the acrobat plugin of my browser... And I'm also sure
that
the pdf code generated inside the Rev cgi is correct...
Hence my question : how to work with binary data inside a cgi script
without
corrupting it ?

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

thanks,
JB




More information about the Use-livecode mailing list