Hi all,
Im looking to load an external webpage into a DOM using PHP.
I had thought a possible solution could be
$source = "http://www.test.com";
$dom = new DomDocument();
$dom->load($source);
but this dosnt appear to work.
any ideas or alternative suggestions?
Thanks
Load and parse a webpage using PHP
Moderator: General Moderators
-
MasterArtist
- Forum Newbie
- Posts: 3
- Joined: Fri Sep 28, 2007 5:53 am