I have set all the php settings in the php.ini file, checked to see cURL modue is installed properly, and also changed cURL options:
curl_setopt($ch, CURLOPT_ENCODING, ''); curl_setopt($ch, CURLOPT_USERAGENT, 'Internet Explorer/7.0 (gzip)'); However, the result is still being truncated. Are there any other php settings I need to change? Or is the compression not done properly? On Jan 29, 5:57 am, "Anirudh (Google)" <[email protected]> wrote: > 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.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
