Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
UnGzip Http Stream, how ?
Old 07-08-2006, 09:14 AM UnGzip Http Stream, how ?
Junior Talker

Posts: 2
Trades: 0
Hello,

My PHP script sends headers to another PHP script, and I receive answer from server. It works well, but server sends to my script answer which is gziped.

First question: How could I unzip this gziped answer?
Second question: Could I IMPEL server to send me unziped answers?

Thanks for all, ByE
dopy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-10-2006, 10:57 AM Re: UnGzip Http Stream, how ?
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
Try using

gzuncompress($data)
OR
ob_start("ob_gzhandler");
echo "data";

You should also be able to set your compression handler in your php.ini

Ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Reply     « Reply to UnGzip Http Stream, how ?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.36018 seconds with 12 queries