Lines Matching defs:out
618 * response times out or ends prematurely.
860 $out = '';
862 $out .= $boundary . HTTP_NL;
864 $out .= 'Content-Disposition: form-data; name="' . urlencode($key) . '"' . HTTP_NL;
865 $out .= HTTP_NL; // end of headers
866 $out .= $val;
867 $out .= HTTP_NL;
869 $out .= 'Content-Disposition: form-data; name="' . urlencode($key) . '"';
870 if ($val['filename']) $out .= '; filename="' . urlencode($val['filename']) . '"';
871 $out .= HTTP_NL;
872 if ($val['mimetype']) $out .= 'Content-Type: ' . $val['mimetype'] . HTTP_NL;
873 $out .= HTTP_NL; // end of headers
874 $out .= $val['body'];
875 $out .= HTTP_NL;
878 $out .= "$boundary--" . HTTP_NL;
879 return $out;