我正在尝试上传,下载文档和电子表格使用PHP的谷歌文档列表数据API。我浏览了文档和常见问题解答,在Google documents List API中使用php的示例只有1.0版可用。当我在google域名上注册我的本地域名时,它显示我没有验证,即使我尝试了两种方法( meta标签和上传html )。
示例php文件抛出致命错误:
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:4
我使用mysqlDB在xampp下运行脚本。
我检查域名是否有ip。
问题是,我必须检查来自MySQL_DB的100000多个域名。
函数"gethostbyname“运行良好,但我的解决方案太慢了。
while($row = mysqli_fetch_array($db_res)) { // get the DB domainnames entrys
if (empty($row['status'])) {
$items[] = $row['domainnames'];
}
foreach ($items A