嗨,大家好我正在建立一個表單上傳文件到我的谷歌文檔帳戶,但它不工作我不斷收到錯誤 - 以下是我的代碼;無法從我的PHP表單上傳到谷歌文檔 - 獲取錯誤
$service = Zend_Gdata_Docs::AUTH_SERVICE_NAME;
$client = Zend_Gdata_ClientLogin::getHttpClient($username, $pww, $service);
$docs = new Zend_Gdata_Docs($client);
$newDocumentEntry = $docs->uploadFile($_FILES['file']['tmp_name'], $_FILES['file']['name'], null, Zend_Gdata_Docs::DOCUMENTS_LIST_FEED_URI);
我得到以下錯誤:
PHP Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Expected response code 200, got 400 Inconsistent repeating query parameter ' in C:...\Zend\Gdata\App.php:700
我使用PHP和Zend GDATA代碼。