I have a script using simple_html_dom.
foreach ($urls as $url)
{
$html = file_get_html($url);
if($html->innertext!=''){
foreach($html->find('.doc div[style="padding-top:1px;border-bottom:1px solid #eaeaec;padding-bottom:6px;"]') as $b){
$b->style='""';
echo $b;
}
}
$html->clear();
unset($html);
}
When I running this script I get the following error:
Fatal error: Allowed memory size of 444596224 bytes exhausted (tried to allocate 1272 bytes).