Hi Jack,

The "max_input_time" setting can only be set in php.ini, .htaccess or
httpd.conf.  As for the CURLOPT_ENCODING setting, you can simply leave
the value empty to enable all the available encodings like below
curl_setopt($ch, CURLOPT_ENCODING, "");

For the CURLOPT_USERAGENT, I suggest you to put something more
meaningful like:
curl_setopt($ch, CURLOPT_USERAGENT, 'YourAppName Version (gzip)');

Can you also make sure the PHP cURL module is installed properly by
looking at the phpinfo?

Thanks,

--Tony

On Jan 28, 10:57 pm, "[email protected]" <[email protected]>
wrote:
> The Compression is done by adding the following lines in the
> common.php file:
>
>   curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
>   curl_setopt($ch, CURLOPT_USERAGENT, 'gzip');
>
> Correct me if it's wrong.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to