Diff for phpPlatonLib/HTML_Content/Content.php between version 1.8 and 1.9
| version 1.8, 2002/12/15 09:05:26 |
version 1.9, 2002/12/23 01:20:01 |
| Line 61 class HTML_Content |
|
| Line 61 class HTML_Content |
|
| */ |
*/ |
| function setInputFile($file, $cookies = null) |
function setInputFile($file, $cookies = null) |
| { |
{ |
| $this->_cookies = is_array($cookies) ? $cookies : $this->_cookies;; |
$this->_cookies = is_array($cookies) ? $cookies : $this->_cookies; |
| if (is_string($file)) { |
if (is_string($file)) { |
| $this->_file = $file; |
$this->_file = $file; |
| return true; |
return true; |
| Line 150 class HTML_Content |
|
| Line 150 class HTML_Content |
|
| } |
} |
| } |
} |
| } |
} |
| if ($all_data == '') { |
if ($all_data == '' && is_resource($this->_fp)) { |
| while ($data = fread($this->_fp, 2048)) { |
while ($data = fread($this->_fp, 2048)) { |
| $all_data .= $data; |
$all_data .= $data; |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|