mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Noted CURLOPT_SAFE_UPLOAD in curl_setopt, which was introduced in PHP 5.5
(Finally) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333635 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
395344c770
commit
8ba9551033
1 changed files with 18 additions and 1 deletions
|
@ -366,6 +366,20 @@
|
|||
<entry valign="top">
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry valign="top"><constant>CURLOPT_SAFE_UPLOAD</constant></entry>
|
||||
<entry valign="top">
|
||||
&true; to disable support for the <literal>@</literal> prefix for
|
||||
uploading files in <constant>CURLOPT_POSTFIELDS</constant>, which
|
||||
means that values starting with <literal>@</literal> can be safely
|
||||
passed as fields. <classname>CURLFile</classname> may be used for
|
||||
uploads instead.
|
||||
</entry>
|
||||
<entry valign="top">
|
||||
&false; by default at present, but this is likely to be changed in a
|
||||
future version of PHP.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry valign="top"><constant>CURLOPT_SSL_VERIFYPEER</constant></entry>
|
||||
<entry valign="top">
|
||||
|
@ -999,7 +1013,10 @@
|
|||
</simpara>
|
||||
<simpara>
|
||||
As of PHP 5.5.0, the <literal>@</literal> prefix is deprecated and
|
||||
files can be sent using <classname>CURLFile</classname>.
|
||||
files can be sent using <classname>CURLFile</classname>. The
|
||||
<literal>@</literal> prefix can be disabled for safe passing of
|
||||
values beginning with <literal>@</literal> by setting the
|
||||
<constant>CURLOPT_SAFE_UPLOAD</constant> option to &true;.
|
||||
</simpara>
|
||||
</entry>
|
||||
<entry valign="top">
|
||||
|
|
Loading…
Reference in a new issue