Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul id="adPoint1"><li>Business</li><li>Contract</li></ul>
- $dom = new DOMDocument();
- @$dom->loadHTML($output);
- $this->xpath = new DOMXPath($dom);
- $testDom = $this->xpath->evaluate("//ul[@id='adPoint1']");
- $test = $testDom->item(0)->nodeValue;
- echo htmlentities($test);
- <script language="javascript">document.write(rot_decode('<u7>Pbagnpg Qrgnvyf</u7><qy vq="pbagnpgQrgnvyf"><qg>Cu:</qg><qq>(58) 0078 8455</qq></qy>'));</script>
- $testDom = $this->xpath->evaluate("//div[@id='businessDetails']/script");
- $test = $testDom->item(0)->nodeValue;
- echo htmlentities($test);
- document.write(rot_decode('<u7>Pbagnpg Qrgnvyf<qy vq="pbagnpgQrgnvyf"><qg>Cu:<qq>(58) 0078 8455'));
- //ul[@id='adPoint1']
- //ul[@id='adPoint1']/li
- foreach($this->simpleDom->find('script[language=javascript]') as $script) {
- echo htmlentities($script->innertext());
- }
Add Comment
Please, Sign In to add comment