i am trying to get the contents of this file
[url]http://www.dealspwn.com/tatsunoko-capcom-ultimate-stars/
and then i need to replace an image from the above page by some text say .’*******’ and then get the plaintext of the page,so i did the following ,
code:
$html = file_get_html(‘
$imgsrc=’
$img_tag=$htmlalt->find(‘img[src*=’.addcslashes($imgsrc,’.–:+*_()^[]
$x=str_get_html(str_replace($img_tag,” ******* “,$htmlalt));
$html_text = $x->find(‘body’,0)->plaintext;
The above steps are in a loop for different page links,it works fine for few of the urls however the script stops suddenly for some cases,one such case is above page link,it shows segmentation fault..