Rev compress, cgi, php, zip

stephen barncard stephenREVOLUTION2 at
Fri Dec 11 12:06:18 EST 2009

Maybe the ZIP lib calls would have the right compression. What is the
difference between REVZIP calls and compress?
There's also the shell, which might certainly call the same kind of routines
that PHP does.
Stephen Barncard
San Francisco

2009/12/11 Jim Ault <jimaultwins at>

> I am refining my algorithms to connect web hosted servers that do not work
> with Revolution CGI to On-Rev and other web servers that do run Rev CGI.
> I have several mechanisms working for moving data and processing logic
> between domains, and would like to add the compression scheme as follows:
> server A is OnRev
> server B is a host that does not do Rev CGI
> step 1 is to build a variable on server B using php
> step 2 is to send the variable using POST in php
> step 3 is to have a Rev script decompress()
> So far my attempts are not successful.
> Rev uses
> try
>  put decompress(varFromServerB) into varUnzipped
> catch errnum
>  put "Error decompressing =>" & errnum into buffer
> end try
> PHP uses      gzcompress($varFromServerB)
> -1-  does decompress work in Rev CGI using Linux 3.5 version
> -2-  is there a way to make the compressions compatible?
> Of course I could just make a call to a utility script  decompr.php
>  located on the OnRev server that returns the decompressed string, but that
> would make the processing take slightly longer.
> When I get this smoothed out, I will post a web page or two showing web
> pages on different servers running php, Rev scripts, Rev stacks, and irev
> scripts.  These will be interconnected and show different variations.  One
> variation will be a single web page hosted on OnRev that uses all 4 types of
> scripting to render the page and interact with the visitor.
> Jim Ault
> Las Vegas
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list