Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8513625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:37:39+00:00 2026-06-11T04:37:39+00:00

Im trying to develop an application in php to download pics from picasa using

  • 0

Im trying to develop an application in php to download pics from picasa using Zend_Gdata library.
My project folder structure is like this:

www(wamp)
  /project
    test.php
    /Zend
      /Authentication
      /Barcode
      .
      .
      /View
      /XmlRpc

As you can see, i havent copied the full Zend Framework. I dont want the full MVC paradigm in this project, just the Zend_Gdata library. Is this the way to do this? Or do i have to use the complete zend framework? Im completely new to Zend.

I found this article at IBM site http://www.ibm.com/developerworks/library/x-picasalbum/ very well explained.

But i cant seem to find the Loader.php file in Zend folder specified in the Listing5 of that tutorial.

// load library
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Photos');
Zend_Loader::loadClass('Zend_Http_Client');

Instead i found this folder Loader in the Zend folder with lots of other loaderClasses. Is that tutorial outdated? (its dated 16-Sep-2008; Zend is now Zend2) Which file in that folder serve the purpose of old Loader.php?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T04:37:41+00:00Added an answer on June 11, 2026 at 4:37 am

    If you are using Zend Framework 1 you must first add the Zend folder to your include_path

    set_include_path(implode(PATH_SEPARATOR, array(
        realpath(realpath(dirname(__FILE__) . '/../library'), // /../library is the relative path to the Zend folder 
        get_include_path(),
    )));
    

    Then setup the autoloader (this code requires at least v1.12 of the framework)

    require_once __DIR__ . '/../library/Zend/Loader/StandardAutoloader.php';
    $loader = new Zend_Loader_StandardAutoloader(
        array(
             Zend_Loader_StandardAutoloader::LOAD_NS => array(
                 'Zend'     => __DIR__ . '/../library/Zend',
             ),
        ));
    $loader->register();
    

    If you are using Zend Framework 2 then you must use

    require_once __DIR__ . '/../library/Zend/Loader/StandardAutoloader.php';
    $loader = new Zend\Loader\StandardAutoloader(
        array(
             Zend\Loader\StandardAutoloader::LOAD_NS => array(
                 'Zend'     => __DIR__ . '/../library/Zend',
                 'ZendGData'=> __DIR__ . '/../library/ZendGData',
             ),
        ));
    $loader->register();
    

    The instructions above setup the autoloader so you don’t need load each class.

    In ZF1 you can do directly:

    $var = new Zend_Gdata_ClientLogin()
    

    The same in ZF2 is:

    $var = new ZendGData\ClientLogin();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to develop a web application that mainly uses PHP but i'm using
I am trying to develop a twitter application using php and tmhOAuth I am
I'm trying to develop a Facebook application, and I have uploaded my index.php file,
I am trying to develop an application using ADO.NET. I have two tables in
I am trying to develop an application using Spring 2.5.5 Flex/J2EE and Hibernate 3.1.3.
I am trying to develop an application which needs to download and install other
I'm trying to develop an application in MVC 3 using EF codefirst. When I
I'm trying to develop an application using Google's maps and I can't get this
I am currently trying to develop a PHP application in which my server downloads
I'm trying to develop a Flex Mobile / PHP application, and I'm running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.