simple-html-dom

    0

    1답변

    url의 홈페이지에서 데이터를 파싱하고 싶습니다. 이 URL을 볼 수있는 것은 HTML 파일 내가 아래를 참조 : // Create a DOM object from a HTML file $html = file_get_html('test.htm'); 그래서 난 그냥 include "simple_html_dom.php"; $html = file_get_

    0

    1답변

    데이터베이스의 테이블 몇 개를 업데이트하기 전에 원격 웹 사이트를 긁어서 결과의 일부를 편집하려고합니다. echo() 최종 문서. 여기 참조를 위해 문제의 코드 편집 됨 조각입니다 : <?php require_once 'backend/connector.php'; require_once 'table_access/simplehtmldom_1_5/simpl

    1

    1답변

    나는 ID없이 PHP Simple HTML DOM의 아이 선택/클래스를 사용하고있는 행으로 $tr 촬영 <tr> <th>some text</th> <th>some text</th> <th>some text</th> <th>some text</th> <th>some text</th> <th>some tex

    0

    1답변

    페이지의 모든 영어 단어 주위에 englishText 클래스를 추가해야합니다. 문제는 this과 유사하지만 Javascript 솔루션이 제대로 작동하지 않습니다. 이 문제를 해결하기 위해 PHP 예제가 필요합니다. 당신이있는 경우 예를 들어,이 : <p>Hello, 你好</p> <div>It is me, 你好</div> <strong>你好, how ar

    0

    2답변

    입력 필드의 값을 가져오고 싶습니다. 예를 들면. 내 HTML에이 입력란이 있습니다. 이제는 HTML DOM을 가져 오기 위해 이것을 사용했습니다. simple_html_dom.php 그 후 나는 이렇게 시도했습니다. 하지만 그럴 가치는 없습니다. include_once('simple_html_dom.php'); $file_token = str_g

    1

    1답변

    테이블 인 HTML 문자열을 구문 분석하려고합니다. 나는 그 테이블의 첫 번째 줄을 제거했다. 그러면 테이블의 두 번째 열을 어떻게 제거 할 수 있습니까? 나는 다음과 같이 첫 번째 행을 제거 : 는 $preparsed = "<div style='border:1px #CCCCCC dotted; padding:5px'><div style=''>

    -1

    1답변

    나는 simplehtmldom을 사용하고 있으며 웹 사이트에서 링크를 모두 개 얻으려고합니다. include('simplehtmldom/simple_html_dom.php'); // get DOM from URL or file $html = file_get_html('http://example.com/urls/'); // find all a tag

    0

    1답변

    있어 구조 : <div class="info"> <ul class="info-fields"> <li style="display: none"> <span style="display:none" itemprop="brand">Text</span></li> <li>Name: <h1 style="font-size: 14px;margin: 0px;display

    -2

    2답변

    데이터를 가져 가고 싶은 링크 목록이 데이터베이스에 있습니다. DB에서 링크를 가져 와서 간단한 DOM 기능에 붙여 넣을 때를 제외한 모든 스크립트가 작동합니다. " 는 ('utile/db.php를')를 포함, include_once 문 ('utile/simple_html_dom.php을'); $dbh = new PDO("mysql:host=$servern

    0

    2답변

    간단한 html dom을 사용하여 kickasstorrents를 긁어 내려고했지만 오류가 발생했으며 아직 시작하지 않았습니다. 몇 가지 간단한 html 자습서를 따랐고 URL을 설정하고 말풍선을 사용했습니다. <?php require('inc/config.php'); include_once('inc/simple_html_dom.php'); funct