Re: [PHP] zlib and fopen and stream_filter_append, prebuffer read errors help

This is a discussion on Re: [PHP] zlib and fopen and stream_filter_append, prebuffer read errors help within the PHP General forums, part of the PHP Programming Forums category; >> Zlib compression is what's used in Gzip. Just try it ;) >> >> $uncompressed = gzuncompress(file_get_contents(&...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-14-2007
Bob Sabiston
 
Posts: n/a
Default Re: [PHP] zlib and fopen and stream_filter_append, prebuffer read errors help


>> Zlib compression is what's used in Gzip. Just try it ;)
>>
>> $uncompressed = gzuncompress(file_get_contents("binaryfile.ext"));
>>
>> -Casey

>


On Dec 14, 2007, at 9:45 AM, Bob Sabiston wrote:

> That isn't going to work. Gzip is used for entire files. Do you
> understand what I'm trying to do, or am I misunderstanding you?
>
> Bob


Oops -- I'm so sorry! I was wrong thinking that it operated on files.
I'd been reading so much about the file format and how gzip meant
files and zlib meant the core data. I just assumed gzuncompress would
be a file thing.

I should be able to get that to work, thank you.

Bob
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0