Diff for phpPlatonLib/HTML_Content/Content.php between version 1.11 and 1.12
| version 1.11, 2003/01/22 23:52:04 |
version 1.12, 2003/01/23 14:32:43 |
| Line 40 class HTML_Content |
|
| Line 40 class HTML_Content |
|
| var $_content_type = null; |
var $_content_type = null; |
| var $_new_url = null; |
var $_new_url = null; |
| var $_cookies = array(); |
var $_cookies = array(); |
| |
var $_fp = null; |
| |
|
| function HTML_Content($file = null, $cookies = null) |
function HTML_Content($file = null, $cookies = null) |
| { |
{ |
| Line 138 class HTML_Content |
|
| Line 139 class HTML_Content |
|
| function parse($all_data = null) |
function parse($all_data = null) |
| { |
{ |
| if ($all_data === null) { |
if ($all_data === null) { |
| if (! is_resource($this->_fp)) { |
if (! is_resource(@$this->_fp)) { |
| if (! strncmp($this->_file, "http://", 7)) { |
if (! strncmp($this->_file, "http://", 7)) { |
| if ($this->_getRemoteContent($this->_file, $all_data) !== true) { |
if ($this->_getRemoteContent($this->_file, $all_data) !== true) { |
| return false; |
return false; |
Platon Group <platon@platon.org> http://platon.org/
|
|