note 114538 added to function.curl-file-create

From: Date: Tue, 04 Mar 2014 20:32:34 +0000
Subject: note 114538 added to function.curl-file-create
Groups: php.notes 
Request: Send a blank email to php-notes+get-198789@lists.php.net to get a copy of this message
For PHP < 5.5: <?php if (!function_exists('curl_file_create')) { function curl_file_create($filename, $mimetype = '', $postname = '') { return "@$filename;filename=" . ($postname ?: basename($filename)) . ($mimetype ? ";type=$mimetype" : ''); } } ?> ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/function.curl-file-create.php Edit -- https://master.php.net/note/edit/114538 Del: integrated -- https://master.php.net/note/delete/114538/integrated Del: useless -- https://master.php.net/note/delete/114538/useless Del: bad code -- https://master.php.net/note/delete/114538/bad+code Del: spam -- https://master.php.net/note/delete/114538/spam Del: non-english -- https://master.php.net/note/delete/114538/non-english Del: in docs -- https://master.php.net/note/delete/114538/in+docs Del: other reasons-- https://master.php.net/note/delete/114538 Reject -- https://master.php.net/note/reject/114538 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198789) next »