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

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: CURLFile or CURLStringFile should be used to upload a file with CURLOPT_P
From:       Yoshinari Takaoka <noreply () php ! net>
Date:       2021-11-29 14:46:39
Message-ID: Vq4AfPFDSBKGJ2u0FsdomJWj8i4P3AOmbieAdudEBPA () main ! php ! net
[Download RAW message or body]

Author: Yoshinari Takaoka (mumumu)
Date: 2021-11-29T23:46:09+09:00

Commit: https://github.com/php/doc-en/commit/f2b05d3988d8b0b90fd872e93614c9f468e7f715
Raw diff: https://github.com/php/doc-en/commit/f2b05d3988d8b0b90fd872e93614c9f468e7f715.diff


CURLFile or CURLStringFile should be used to upload a file with CURLOPT_POSTFIELDS.

Changed paths:
  M  reference/curl/curlfile.xml
  M  reference/curl/curlstringfile.xml


Diff:

diff --git a/reference/curl/curlfile.xml b/reference/curl/curlfile.xml
index 309b0f4225..259912ddcd 100644
--- a/reference/curl/curlfile.xml
+++ b/reference/curl/curlfile.xml
@@ -11,7 +11,7 @@
   <section xml:id="curlfile.intro">
    &reftitle.intro;
    <para>
-    <classname>CURLFile</classname> should be used to upload a file with
+    This class or <classname>CURLStringFile</classname> should be used to upload a \
file with  <constant>CURLOPT_POSTFIELDS</constant>.
    </para>
    <para>
diff --git a/reference/curl/curlstringfile.xml b/reference/curl/curlstringfile.xml
index 696ef0b31c..763cd0df0f 100644
--- a/reference/curl/curlstringfile.xml
+++ b/reference/curl/curlstringfile.xml
@@ -12,7 +12,7 @@
    <para>
     <classname>CURLStringFile</classname> makes it possible to upload a file \
                directly from a variable.
     This is similar to <classname>CURLFile</classname>, but works with the contents \
                of the file, not filename.
-    This class should be used to upload the contents of the file with \
<constant>CURLOPT_POSTFIELDS</constant>. +    This class or \
<classname>CURLFile</classname> should be used to upload the contents of the file \
with <constant>CURLOPT_POSTFIELDS</constant>.  </para>
   </section>
 <!-- }}} -->

-- 
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