View Single Post
Old 10-20-2005, 11:14 AM   #10
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Untested, but if you want to try and index part of the big PDFs...

In robot_functions.php find:
Code:
        while (!feof($fp)) {
            $file_content[] = fread($fp,8192);
        }
And replace with:
Code:
        $oh_stop_me = 0;
        while (!feof($fp) && $oh_stop_me < 125) {
            $file_content[] = fread($fp,8192);
            $oh_stop_me++;
        }
The 125 is meant to allow for 1,024,000 bytes from bigger PDF files.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote