PHP Classes


Recommend this page to a friend!

      Spider Class  >  All threads  >  BIG PROBLEM  >  (Un) Subscribe thread alerts  
Summary:can't instantiate class
Author:Joe Fabeetz
Date:2006-03-10 18:53:13
Update:2006-10-28 06:22:42

  1. BIG PROBLEM   Reply   Report abuse  
Joe Fabeetz - 2006-03-10 18:53:13
I try to instantiate the class in a page and I get:

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /var/www/html/links/spiderClass.php on line 101

Fatal error: Cannot instantiate non-existent class: spiderscraper in /var/www/html/links/test3.php on line 69

The parse error is not obvious at that line number, and I don;t feel like sifting through the entire class code to find it.

Booooooooo! I had big hopes for this class, guess I'll have to find another solution....:-(

  2. Re: BIG PROBLEM   Reply   Report abuse  
Bryan Reinhart - 2006-06-02 01:32:40 - In reply to message 1 from Joe Fabeetz
It seems like a pretty complex class. All I need is a very simple spider written in PHP and can't seem to find it. It also doesn't look like the author of this class even supports it. It looks like anyone who uses it is on their own.

  3. Re: BIG PROBLEM   Reply   Report abuse  
stu - 2006-07-21 21:33:05 - In reply to message 2 from Bryan Reinhart
I think you need php5.

did you find a better class?

  4. Re: BIG PROBLEM   Reply   Report abuse  
mahes - 2006-10-28 06:22:42 - In reply to message 1 from Joe Fabeetz
hi am also have same problem.any one give solutions.please it's an urgent.
advacing nandri