Questions tagged [domdocument]

DOMDocument refers to a class encapsulating the DOM (Document Object Model). Various languages and technologies use the name DOMDocument for this purpose, for example PHP, COM, C++, and ActiveX

If you are thinking of using this tag, then you might be looking for the Document Object Model tag:

In PHP, for example, the DOMDocument class represents an entire HTML or XML document and serves as the root of the document tree.

2749 questions
0
votes
1 answer

Using PHP's DOMDocument::preserveWhiteSpace = false and still getting whitespace

I'm scraping this page: http://kat.ph/search/example/?field=seeders&sorder=desc In this way: ... curl_setopt( $curl, CURLOPT_URL, $url ); $header = array ( 'Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', …
Petruza
  • 11,744
  • 25
  • 84
  • 136
0
votes
1 answer

prototype: show a element when scroll page pased 800px

If user up, then hide the element. A div. i have something: