【发布时间】:2010-05-13 12:30:48
【问题描述】:
我正在尝试使用我包含的 Zend 库访问 YouTube API(Zend 库的完整路径是 components/lib/Zend/Gdata.php):
//包含 Zend Gdata set_include_path('components/lib'); 包括(“Zend/Gdata.php”);我现在尝试使用这个框架:
//通过Zend库访问视频数据 $yt = 新 Zend_Gdata_YouTube();但是在运行脚本时它会返回:
致命错误:第 48 行的 E:\inetpub\students\fit3060\20712510\ass2\results.php 中找不到类“Zend_Gdata_YouTube”我认为我没有正确包含 Zend 库或正确声明包含路径?
【问题讨论】:
标签: php zend-framework include youtube