Hello Andre,
Please can you tell me how you are storing data to the spreadsheet?
This is what I am doing. Its for storing data to a spreadsheet that already
has 5000+ rows. At first I got a time out error. So I increased it to 30s.
But after that I am getting "*Fatal error*: Allowed memory size of 83886080
bytes exhausted (tried to allocate 111 bytes) in".. Any help would be
greatly appreciated.
--------------
My code:
--------------
ini_set("include_path", ".:/usr/lib/php:/usr/local/lib/php:/home1/
journam6/public_html/ZendGdata/library/");
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Spreadsheets');
Zend_Loader::loadClass('Zend_Http_Client');
$email = "[email protected]";
$pass = "*************";
$authService = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$httpClient = Zend_Gdata_ClientLogin::getHttpClient($email, $pass,
$authService);
$spreadsheetService = new Zend_Gdata_Spreadsheets($httpClient);
$spreadsheetKey = '0Avo7QtZJaW3qcEpSWkV4RF9ib1JDN0hGV3l3ODh2Q2c';
$worksheetId = 'od6';
$rowData = array('Full Name' => "tara");
$insertedListEntry = $spreadsheetService->insertRow($rowData,
$spreadsheetKey, $worksheetId);
-------------
Thank you,
Tara
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data 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-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---