Lines Matching refs:out
839 $out = '';
841 $out .= $boundary.HTTP_NL;
843 $out .= 'Content-Disposition: form-data; name="'.urlencode($key).'"'.HTTP_NL;
844 $out .= HTTP_NL; // end of headers
845 $out .= $val;
846 $out .= HTTP_NL;
848 $out .= 'Content-Disposition: form-data; name="'.urlencode($key).'"';
849 if($val['filename']) $out .= '; filename="'.urlencode($val['filename']).'"';
850 $out .= HTTP_NL;
851 if($val['mimetype']) $out .= 'Content-Type: '.$val['mimetype'].HTTP_NL;
852 $out .= HTTP_NL; // end of headers
853 $out .= $val['body'];
854 $out .= HTTP_NL;
857 $out .= "$boundary--".HTTP_NL;
858 return $out;