(i found your script after asking a question on Stackoverflow today. you can see my original question from there:
I want to load a part of a file that contains some DIV sections named with "id=a1" , "id=a2" ...
the code i have used is://$html->find('div', 1)->class = 'bar';
The "PHP Simple HTML DOM Parser" is so nice and work for me.
But it just work for small files. (i've test for files under 100-500KB)
Now i want to use "PHP Simple HTML DOM Parser" for big files. (like 1MB-10MB)
i got this error:
Fatal error: Call to a member function find() on a non-object in /public_html/load.php on line 9
(line 9 is: $ngm_str=$html->find('div[id=a1]', 0);)
Please Help me to wolve this problem.