Lines Matching refs:out
614 * response times out or ends prematurely.
849 $out = '';
851 $out .= $boundary.HTTP_NL;
853 $out .= 'Content-Disposition: form-data; name="'.urlencode($key).'"'.HTTP_NL;
854 $out .= HTTP_NL; // end of headers
855 $out .= $val;
856 $out .= HTTP_NL;
858 $out .= 'Content-Disposition: form-data; name="'.urlencode($key).'"';
859 if($val['filename']) $out .= '; filename="'.urlencode($val['filename']).'"';
860 $out .= HTTP_NL;
861 if($val['mimetype']) $out .= 'Content-Type: '.$val['mimetype'].HTTP_NL;
862 $out .= HTTP_NL; // end of headers
863 $out .= $val['body'];
864 $out .= HTTP_NL;
867 $out .= "$boundary--".HTTP_NL;
868 return $out;