Results 1 to 3 of 3
  1. #1

    Errors With PEAR


    I'm getting some errors with my code when trying to use the PEAR HTTP_DOWNLOAD package. I've installed that package and the required dependencies and I still get the following error.

    Fatal error: Undefined class name 'http_download' in e.t.c e.t.c

    My code is as follows..

    PHP Code:
    = &new HTTP_Download();
    Any ideas?

  2. #2
    Join Date
    Apr 2003
    Just to remind you of the simple things...

    Did you remember to "include" the package file in your script?

    Did you doublecheck PHP's include path?

    Have you tried anyone else's script on the server in question (one that of course uses the package in question)?

    Good Luck!

  3. #3
    PEAR just seems to be dieing on me in general, even the PEAR default info script won't work.

    I'll try recompiling Apache, something may have glitched.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts