<?php
class parsedictionary {
public function _process() {
$webpage="http://www.oppapers.com/essays/Computerized-World/160871?read_essay";
$doc=new DOMDocument();
$doc->loadHTML($webpage);
echo $doc;
}
}
$obj=new parsedictionary();
$obj->_process();
?>
I can't get the content of that page.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<body>
<p>http://www.oppapers.com/essays/Computerized-World/160871?read_essay</p>
</body>
</html>
But i need to get the content of that page.