Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jak odszyfrować HTML DOM, simple html dom
michalbd93
post
Post #1





Grupa: Zarejestrowani
Postów: 60
Pomógł: 0
Dołączył: 23.11.2017

Ostrzeżenie: (0%)
-----


użyłem simple_html_dom i uzyskałem kod strony
object(simple_html_dom)#1 (23) { ["root"]=> object(simple_html_dom_node)#2 (9) { ["nodetype"]=> int(5) ["tag"]=> string(4) "root"...

jak go teraz odszyfrować jak dowiedzieć się jakie dane zawiera?

Ten post edytował michalbd93 26.11.2017, 10:34:31
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
viking
post
Post #2





Grupa: Zarejestrowani
Postów: 6 381
Pomógł: 1116
Dołączył: 30.08.2006

Ostrzeżenie: (0%)
-----


  1. <?php
  2. include_once('simple_html_dom.php');
  3.  
  4.  
  5. $html = str_get_html('
  6. <iframe style=" background-repeat:no-repeat;
  7. background-size: 70% 100%;" src="http://filmexe.pl/filminstruktazowy.php" width="100%" height="305" frameborder="0" scrolling="no" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>');
  8.  
  9.  
  10. foreach($html->find('iframe') as $frame) {
  11. echo $frame->src;
  12. }
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 7.10.2025 - 16:25