Changeset 994
- Timestamp:
- 10/29/05 18:45:33 (4 years ago)
- Files:
-
- 1 modified
-
trunk/rss/extlib/Snoopy.class.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rss/extlib/Snoopy.class.inc
r990 r994 751 751 $headers[] = "Authorization: BASIC ".base64_encode($this->user.":".$this->pass); 752 752 753 for($curr_header = 0; $curr_header < count($headers); $curr_header++) 753 for($curr_header = 0; $curr_header < count($headers); $curr_header++) { 754 754 $cmdline_params .= " -H \"".$headers[$curr_header]."\""; 755 } 755 756 756 757 if(!empty($body)) … … 765 766 // mbi: removed, as it breaks on older cURL's 766 767 //$cmdline_params .= " -k"; 767 $full_cmdline = $this->curl_path." -D \"".$this -> tmpdir."$headerfile\"".$cmdline_params." ".escapeshellcmd($URI); 768 768 $full_cmdline = $this->curl_path 769 ." -D \"".$this -> tmpdir 770 ."$headerfile\"" 771 .escapeshellcmd($cmdline_params)." " 772 .escapeshellcmd($URI); 773 // die($full_cmdline); 769 774 exec($full_cmdline,$results,$return); 770 775
