Lines Matching refs:matches
864 preg_match("/^(Location:|URI:)[ ]+(.*)/i",chop($currentHeader),$matches);
866 if(!preg_match("|\:\/\/|",$matches[2]))
871 if(!preg_match("|^/|",$matches[2]))
872 $this->_redirectaddr .= "/".$matches[2];
874 $this->_redirectaddr .= $matches[2];
877 $this->_redirectaddr = $matches[2];
1032 preg_match("/^(Location: |URI:)\s+(.*)/",chop($result_headers[$currentHeader]),$matches);
1034 if(!preg_match("|\:\/\/|",$matches[2]))
1039 if(!preg_match("|^/|",$matches[2]))
1040 $this->_redirectaddr .= "/".$matches[2];
1042 $this->_redirectaddr .= $matches[2];
1045 $this->_redirectaddr = $matches[2];