Lines:
1 to 21 of 21
<?php // (C) Copyright Bobbing Wide 2015 /* class OIK_clone_post_file */ /* function OIK_clone_post_file::__construct() – Constructor for OIK_clone_post_file */ /* function OIK_clone_post_file::set_boundary() – Create the unique boundary string */ /* function OIK_clone_post_file::boundary_line() – Return a boundary line */ /* function OIK_clone_post_file::body_disposition() – */ /* function OIK_clone_post_file::body() – We might have one too many PHP_EOL here! */ /* function OIK_clone_post_file::file_disposition() – Return the Content-Disposition for the file */ /* function OIK_clone_post_file::file_type() – Return the Content-Type and encoding for the file */ /* function OIK_clone_post_file::file_contents() – Return the chunked base64 format of the file */ /* function OIK_clone_post_file::attach_file() – $filedata = "–" . $this->_mime_boundary . "rn"; $postdata .= "Content-Disposition: form-data; name="$field_name"; filename="$base_name"rnrn"; $postdata .= "$file_contentrn"; */ /* function OIK_clone_post_file::attach_body() – Return the "body" as if it were multipart form data called "body" */ /* function OIK_clone_post_file::attach_var() – Attach a variable */ /* function OIK_clone_post_file::headers() – Create the headers for the multipart form */ /* function OIK_clone_post_file::post() – Post the body and file in a multipart form */ /* function OIK_clone_post_file::filesize() – */ /* function OIK_clone_post_file::detach_media() – Detach the media file if passed in the args */View on GitHub
Called by
Invoked by
Calls
Call hooks
API Letters:
