I followed the instructions on the google page. I added the Library folder from the download to my PHP folder on my server.
I don't think I have permission to edit my php.ini file or to create .htaccess file so I though I'd go with use_include_path, but it seems the test file:
http://framework.zen...tionChecker.php doesn't have a use_include_path in it. I might be wrong, but every time I run that script on my server it fails. How can I get this work?
Thanks
Google Data PHP LibraryInstalling it
Page 1 of 1
4 Replies - 577 Views - Last Post: 12 March 2010 - 07:32 AM
Replies To: Google Data PHP Library
#2
Re: Google Data PHP Library
Posted 04 March 2010 - 11:46 AM
I have been trying to use google data API with youtube. I had the same trouble you seem to be having. Here is the code that I used to get some stuff to work.
After that I was able access youtube data.
I hope this helps! Sorry if it is off topic.
$clientLibraryPath = 'includes/library'; // place where the ZEND library is // this is where the 'include_path' stuff is that you seemed to have problems with $oldPath = set_include_path(get_include_path() . PATH_SEPARATOR . $clientLibraryPath); require_once 'Zend/Loader.php'; // the Zend dir must be in your include_path
After that I was able access youtube data.
I hope this helps! Sorry if it is off topic.
#3
Re: Google Data PHP Library
Posted 04 March 2010 - 03:09 PM
Do I stick this in the test script?
#4
Re: Google Data PHP Library
Posted 09 March 2010 - 11:54 AM
Yeah sure. There is actually a script out there too that comes with the Zend Download that will test if Zend is installed, you should check that out as well.
#5
Re: Google Data PHP Library
Posted 12 March 2010 - 07:32 AM
Yeah I ran that but it failed and I think it was because it didn't know where all the stuff was. So I looked in the test script for the include statement, but couldn't find it.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|