aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-09 04:10:01 -0700
committerfriendica <info@friendica.com>2014-09-09 04:10:01 -0700
commit409c89d629993b59eaafa8443ae9d0b5f0344c1f (patch)
tree968afc36156dd38643892dff51a76509d685e76e
parent386156138f63fbabf9ac71a81a6bea99410c8100 (diff)
downloadvolse-hubzilla-409c89d629993b59eaafa8443ae9d0b5f0344c1f.tar.gz
volse-hubzilla-409c89d629993b59eaafa8443ae9d0b5f0344c1f.tar.bz2
volse-hubzilla-409c89d629993b59eaafa8443ae9d0b5f0344c1f.zip
doco correction
-rw-r--r--include/network.php16
1 files changed, 5 insertions, 11 deletions
diff --git a/include/network.php b/include/network.php
index 543c6aa72..0191f203d 100644
--- a/include/network.php
+++ b/include/network.php
@@ -133,20 +133,14 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) {
/**
- * @function z_fetch_url
+ * @function z_post_url
* @param string $url
- * URL to fetch
+ * URL to post
* @param mixed $params
- * The full data to post in a HTTP "POST" operation. To post a file,
- * prepend a filename with @ and use the full path. The filetype can
- * be explicitly specified by following the filename with the type in
- * the format ';type=mimetype'. This parameter can either be passed
- * as a urlencoded string like 'para1=val1&para2=val2&...' or as an
- * array with the field name as key and field data as value. If value
+ * The full data to post in a HTTP "POST" operation. This parameter can
+ * either be passed as a urlencoded string like 'para1=val1&para2=val2&...'
+ * or as an array with the field name as key and field data as value. If value
* is an array, the Content-Type header will be set to multipart/form-data.
- * As of PHP 5.2.0, value must be an array if files are passed to this
- * option with the @ prefix. As of PHP 5.5.0, the @ prefix is deprecated
- * and files can be sent using CURLFile.
* @param int $redirects = 0
* internal use, recursion counter
* @param array $opts (optional parameters)