Lines Matching refs:curl_setopt
18 curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file));
25 curl_setopt($ch, CURLOPT_URL, "{$host}/get.php?test=file");
26 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
37 curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file));
43 curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file));
46 curl_setopt($ch, CURLOPT_SAFE_UPLOAD, 0);
48 curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
51 curl_setopt($ch, CURLOPT_SAFE_UPLOAD, true);
53 curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
56 curl_setopt($ch, CURLOPT_URL, "{$host}/get.php?test=post");
58 curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
74 Deprecated: curl_setopt(): The usage of the @filename API for file uploading is deprecated. Please …