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

  • Home
  • SEARCH
  • 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 9186591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:33:59+00:00 2026-06-17T19:33:59+00:00

I just took a look after how to send mail via google smtp. PEAR

  • 0

I just took a look after how to send mail via google smtp.

PEAR appeared as the appropriate library to do the job.

In this code snippet there is a

require_once "Mail.php";

Where does this file resides? Does __autoload() function make some trick? If i change it to fit my classes’ folder path I might broke the magic?

  • 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-17T19:34:01+00:00Added an answer on June 17, 2026 at 7:34 pm

    Please get in the habit of checking the manual before asking questions like this here. It covers this:

    Files are included based on the file path given or, if none is given, the include_path specified. If the file isn’t found in the include_path, include will finally check in the calling script’s own directory and the current working directory before failing. The include construct will emit a warning if it cannot find a file; this is different behavior from require, which will emit a fatal error.

    __autoload() is a separate concept from include and/or require. It is a function which is automatically called when you try to use a class which has not yet been defined. It is a function you write yourself, to define your own algorithm for determining what files you need to include, based on your project’s file structure.

    You should also avoid using __autoload() in your code, since there can be only one __autoload() function defined. Instead, you should use spl_autoload_register() instead. This function takes the name of other functions and adds it to a list of functions that, when an unknown class is invoked, will each be called until one of them finds the file which defines the class you’re looking for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just took a look at this answer , and I noticed the following
I just took a look at jqgrid . Has anyone tried implementing this plugin,
Just wondering if there is a Python MTA . I took a look at
I just took a brief look at PowerShell (I knew it as Monad shell).
I just took a look at wordpad. There is a ribbon button called insert
I can usually google around and find this kind of thing but I just
I just took a look at the Expressions grammar for D 2.0 ( NewExpression
I just took a look at Dave Herman's very interesting task.js . In his
I just took a look on different devices and their soft keyboards. They are
I was following the example given in the OpenCV for video displaying, just took

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.