© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
manimaran
Software Engineer
j
stuff ;)
<?php $domString = file_get_contents('google.com'); $doc = new DOMDocument(); $doc->loadHTML($domString); var_dump($doc->getElementsByTagName('input'));
php.net/manual/en/function.file-get-contents.php
php.net/manual/en/domdocument.getelementsbytagnam…
that's one of the simplest ways
thank you bro!
j
stuff ;)
<?php $domString = file_get_contents('google.com'); $doc = new DOMDocument(); $doc->loadHTML($domString); var_dump($doc->getElementsByTagName('input'));php.net/manual/en/function.file-get-contents.php
php.net/manual/en/domdocument.getelementsbytagnam…
that's one of the simplest ways