[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/curl/functions/_curl-setopt.xml?=
From:       Andrea_Faulds <ajf () php ! net>
Date:       2014-05-31 14:06:49
Message-ID: svn-ajf-1401545209-333635-781420262 () svn ! php ! net
[Download RAW message or body]

ajf                                      Sat, 31 May 2014 14:06:49 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=333635

Log:
Noted CURLOPT_SAFE_UPLOAD in curl_setopt, which was introduced in PHP 5.5

(Finally)

Changed paths:
    U   phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml

Modified: phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml
===================================================================
--- phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml	2014-05-31 12:01:42 UTC (rev 333634)
+++ phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml	2014-05-31 14:06:49 UTC (rev 333635)
@@ -367,6 +367,20 @@
            </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">
             &false; to stop cURL from verifying the peer's
@@ -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">



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic