Lines Matching refs:out
854 $out = '';
856 $out .= $boundary . HTTP_NL;
858 $out .= 'Content-Disposition: form-data; name="' . urlencode($key) . '"' . HTTP_NL;
859 $out .= HTTP_NL; // end of headers
860 $out .= $val;
861 $out .= HTTP_NL;
863 $out .= 'Content-Disposition: form-data; name="' . urlencode($key) . '"';
864 if ($val['filename']) $out .= '; filename="' . urlencode($val['filename']) . '"';
865 $out .= HTTP_NL;
866 if ($val['mimetype']) $out .= 'Content-Type: ' . $val['mimetype'] . HTTP_NL;
867 $out .= HTTP_NL; // end of headers
868 $out .= $val['body'];
869 $out .= HTTP_NL;
872 $out .= "$boundary--" . HTTP_NL;
873 return $out;