|
@@ 853-862 (lines=10) @@
|
| 850 |
|
} |
| 851 |
|
|
| 852 |
|
// have we hit our frame depth and is there frame src to fetch? |
| 853 |
|
if (($this->_framedepth < $this->maxframes) && preg_match_all("'<frame\s+.*src[\s]*=[\'\"]?([^\'\"\>]+)'i", $results, $match)) { |
| 854 |
|
$this->results[] = $results; |
| 855 |
|
for ($x = 0; $x < count($match[1]); $x++) |
| 856 |
|
$this->_frameurls[] = $this->_expandlinks($match[1][$x], $URI_PARTS["scheme"] . "://" . $this->host); |
| 857 |
|
} // have we already fetched framed content? |
| 858 |
|
elseif (is_array($this->results)) |
| 859 |
|
$this->results[] = $results; |
| 860 |
|
// no framed content |
| 861 |
|
else |
| 862 |
|
$this->results = $results; |
| 863 |
|
|
| 864 |
|
return true; |
| 865 |
|
} |
|
@@ 993-1002 (lines=10) @@
|
| 990 |
|
} |
| 991 |
|
|
| 992 |
|
// have we hit our frame depth and is there frame src to fetch? |
| 993 |
|
if (($this->_framedepth < $this->maxframes) && preg_match_all("'<frame\s+.*src[\s]*=[\'\"]?([^\'\"\>]+)'i", $results, $match)) { |
| 994 |
|
$this->results[] = $results; |
| 995 |
|
for ($x = 0; $x < count($match[1]); $x++) |
| 996 |
|
$this->_frameurls[] = $this->_expandlinks($match[1][$x], $URI_PARTS["scheme"] . "://" . $this->host); |
| 997 |
|
} // have we already fetched framed content? |
| 998 |
|
elseif (is_array($this->results)) |
| 999 |
|
$this->results[] = $results; |
| 1000 |
|
// no framed content |
| 1001 |
|
else |
| 1002 |
|
$this->results = $results; |
| 1003 |
|
|
| 1004 |
|
unlink("$headerfile"); |
| 1005 |
|
|