simple-html-dom

    -2熱度

    1回答

    我試圖獲取使用simplehtmldom的元素,但我沒有成功。 include("simple_html_dom.php"); $url = 'https://oload.stream/f/iNzieKbekMM/Perleshje_nga_blloku_i_qelive_99.mp4'; $html = file_get_html($url); foreach ($html->find('

    2熱度

    1回答

    <table> <tr> <th>Year</th> <th>Score</th> </tr> <tr> <td>2014</td> <td>3078</td> </tr> </table> 如果我把上面的表成功存儲爲一個變量,我怎麼能將它附加到具有overflow-x樣式屬性的div? 我試過下面的代碼片段,但沒有雪茄: $div = str

    0熱度

    2回答

    我要解析的HTML結構是這樣的: <div class='container> <div class='inner-div'> <span class='text'>...</span> <div class='author'> <span data-author='Alpha'>...</span> </div> <div

    0熱度

    1回答

    錯誤消息超時: PHP警告: 的file_get_contents(https://search.rakuten.co.jp/search/mall/%E3%81%B5%E3%82%8B%E3%81%95%E3%81%A8%E7%B4%8D%E7%A8%8E/): 未能打開流:連接在/root/apps/kpi_tool_poc/simple_html_dom.php超時上線76, Referer

    0熱度

    1回答

    我就開始玩簡單的HTML末日解析器和我有一些麻煩: 的HTML代碼如下: <div class="players"> <ul class="dane"> <li> <div class="name">Messi</div> <div class="value">Barcelona</div> </li> <li>

    -2熱度

    2回答

    所以問題是,當上傳到MySQL數據庫只上傳數組中的最後一個值。 if (substr($avsnitt["serier"], 0, 16) === 'http://random'){ // Create DOM from URL or file $html = file_get_html($avsnitt["serier"]);

    0熱度

    1回答

    背景:我們使用句柄模板。小的,只需要一次,我們插入內部腳本,內部HTML。 HTML是預先翻譯的,一次發佈。 問題: 隨着simple_html_dom我們發現的所有相關條文。 除了那些在腳本標籤中的人! 例 「正常」 <h5 class="ues mt-1">Anmerkung ändern {bezeichnung}</h5> 內部腳本 <script id="template-Liste

    0熱度

    2回答

    如何使用SimpleHTMLDOM從iframe標記中獲取「thesrc」鏈接? 頁面的源,我想從數據: <div class="ui-tab-pane" data-role="panel" id="feedback"> <iframe scrolling="no" frameborder="0" marginwidth="0" marginheight="0" width="100%" he

    0熱度

    2回答

    我有一個HTML表格,格式如下:正如你所看到的,第一個標題1有一個與之相關的行1。第二個標題2有兩行 - 第2行,第3行與它關聯。標題3具有與其相關的第4行,第5行,第6行。 <table> <thead> <tr> <th>Header 1</th> </tr> </thead> <tbody> <tr> <td>

    0熱度

    2回答

    蔭使用simple_HTML_dom,我想颳了分頁和表數據,所以我需要得到分頁的最大數,這裏的HTML代碼: <ul class='page'> <li class='current'>1</li> <li><a href='stok.php?id=2&kode=%'>2</a></li> <li><a href='stok.php?id=3&kode