Some PEAR functions can not be used..

Discussion in 'PHP' started by figo2476, Nov 18, 2007.

  1. #1
    I am using mac tiger. I installed some packages of PEAR:

    Package Version State
    Archive_Tar 1.3.2 stable
    Archive_Zip 0.1.1 beta
    Auth_SASL 1.0.2 stable
    Console_Getopt 1.2 stable
    File_PDF 0.3.1 beta
    HTML_Common 1.2.3 stable
    HTML_QuickForm 3.2.7 stable
    HTML_Template_IT 1.1 stable
    HTTP 1.4.0 stable
    HTTP_Download 1.1.3 stable
    HTTP_Header 1.2.0 stable
    MDB 1.3.0 stable
    MDB2 2.4.1 stable
    MDB2_Driver_mysql 1.4.1 stable
    MIME_Type 1.0.0 stable
    Mail 1.1.14 stable
    Mail_Mime 1.4.0 stable
    Mail_Queue 1.1.3 stable
    Net_SMTP 1.2.10 stable
    Net_Socket 1.0.8 stable
    Net_UserAgent_Detect 2.0.1 stable
    PEAR 1.5.4 stable
    Structures_Graph 1.0.2 stable
    System_Command 1.0.6 stable
    XML_Parser 1.2.8 stable
    XML_RPC 1.4.0 stable

    I do
    require_once 'HTTP_Download.php';
    require_once 'File_PDF.php';
    but it cannot find them

    but require_once 'Mail.php'; --- found
    I guess it is incorrect file names????
     
    figo2476, Nov 18, 2007 IP
  2. rustem

    rustem Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Check all paths, where actual files reside. Filenames and their paths do not necasserily coincide with package names.
     
    rustem, Nov 19, 2007 IP