4 Replies - 664 Views - Last Post: 12 March 2010 - 07:32 AM Rate Topic: -----

#1 Gamegoofs2  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 159
  • Joined: 15-April 09

Google Data PHP Library

Posted 03 March 2010 - 06:38 PM

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

Is This A Good Question/Topic? 0
  • +

Replies To: Google Data PHP Library

#2 vernak  Icon User is offline

  • New D.I.C Head

Reputation: 7
  • View blog
  • Posts: 24
  • Joined: 11-February 10

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.

$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.
Was This Post Helpful? 0
  • +
  • -

#3 Gamegoofs2  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 159
  • Joined: 15-April 09

Re: Google Data PHP Library

Posted 04 March 2010 - 03:09 PM

Do I stick this in the test script?
Was This Post Helpful? 0
  • +
  • -

#4 vernak  Icon User is offline

  • New D.I.C Head

Reputation: 7
  • View blog
  • Posts: 24
  • Joined: 11-February 10

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.
Was This Post Helpful? 0
  • +
  • -

#5 Gamegoofs2  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 159
  • Joined: 15-April 09

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1