DomDocument class unable access domnode

后端 未结 3 1958
长情又很酷
长情又很酷 2020-12-20 08:57

I dont parse this url: http://foldmunka.net

$ch = curl_init(\"http://foldmunka.net\");

//curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_RE         


        
3条回答
  •  甜味超标
    2020-12-20 09:19

    I'm not sure I'm getting what this script does - the replace operations look like an attempt at sanitation but I'm not sure what for, if you're just extracting some parts of the code - but have you tried the Simple HTML DOM Browser? It may be able to handle the parsing part more easily. Check out the examples.

提交回复
热议问题