Home
last modified time | relevance | path

Searched refs:curl (Results 1 – 25 of 91) sorted by relevance

1234

/PHP-5.3/ext/curl/
H A Dconfig.w324 ARG_WITH("curl", "cURL support", "no");
7 if (CHECK_LIB("libcurl_a.lib;libcurl.lib", "curl", PHP_CURL) &&
8 CHECK_HEADER_ADD_INCLUDE("curl/easy.h", "CFLAGS_CURL") &&
9 CHECK_LIB("ssleay32.lib", "curl", PHP_CURL) &&
10 CHECK_LIB("libeay32.lib", "curl", PHP_CURL)
11 && CHECK_LIB("winmm.lib", "curl", PHP_CURL)
12 && CHECK_LIB("wldap32.lib", "curl", PHP_CURL)
13 && (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "curl", PHP_CURL))) ||
16 EXTENSION("curl", "interface.c multi.c streams.c", true);
24 // AC_DEFINE('PHP_CURL_URL_WRAPPERS', 0, 'Use curl for URL wrappers [experimental]');
[all …]
H A Dconfig.m45 PHP_ARG_WITH(curl, for cURL support,
6 [ --with-curl[=DIR] Include cURL support])
13 if test -r $PHP_CURL/include/curl/easy.h; then
18 if test -r $i/include/curl/easy.h; then
29 easy.h should be in <curl-dir>/include/curl/)
32 CURL_CONFIG="curl-config"
36 CURL_CONFIG=${CURL_DIR}/bin/curl-config
39 CURL_CONFIG=${CURL_DIR}/curl-config
68 #include <curl/curl.h>
95 #include <curl/curl.h>
[all …]
H A Dstreams.c217 curl_multi_remove_handle(curlstream->multi, curlstream->curl); in php_curl_stream_close()
218 curl_easy_cleanup(curlstream->curl); in php_curl_stream_close()
282 curlstream->curl = curl_easy_init(); in php_curl_stream_opener()
306 curl_easy_setopt(curlstream->curl, CURLOPT_FILE, stream); in php_curl_stream_opener()
313 curl_easy_setopt(curlstream->curl, CURLOPT_VERBOSE, 0); in php_curl_stream_opener()
318 curl_easy_setopt(curlstream->curl, CURLOPT_NOPROGRESS, 0); in php_curl_stream_opener()
381 curl_easy_setopt(curlstream->curl, CURLOPT_NOBODY, 1); in php_curl_stream_opener()
384 curl_easy_setopt(curlstream->curl, CURLOPT_POST, 1); in php_curl_stream_opener()
411 curl_easy_setopt(curlstream->curl, CURLOPT_MAXREDIRS, mr); in php_curl_stream_opener()
435 curl_multi_add_handle(curlstream->multi, curlstream->curl); in php_curl_stream_opener()
[all …]
H A Dcurl.dsp7 CFG=curl - Win32 Release_TS
11 !MESSAGE NMAKE /f "curl.mak".
16 !MESSAGE NMAKE /f "curl.mak" CFG="curl - Win32 Release_TS"
34 !IF "$(CFG)" == "curl - Win32 Release_TS"
62 !ELSEIF "$(CFG)" == "curl - Win32 Debug_TS"
90 !ELSEIF "$(CFG)" == "curl - Win32 Debug_TS_SSL"
119 !ELSEIF "$(CFG)" == "curl - Win32 Release_TS_SSL"
152 # Name "curl - Win32 Release_TS"
153 # Name "curl - Win32 Debug_TS"
154 # Name "curl - Win32 Debug_TS_SSL"
[all …]
/PHP-5.3/ext/curl/tests/
H A Dbug52202.phpt5 if (!extension_loaded('curl')) exit("skip curl extension not loaded");
9 $curl = curl_init("http://www.google.com");
10 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
11 curl_setopt($curl, CURLOPT_PRIVATE, "123");
12 curl_exec($curl);
14 var_dump(curl_getinfo($curl, CURLINFO_PRIVATE));
H A Dbug62839.phpt4 <?php if (!extension_loaded("curl")) print "skip";
8 $curl = curl_init();
11 curl_setopt($curl, CURLOPT_FILE, $fd);
13 curl_copy_handle($curl);
H A Dbug48514.phpt6 if (!extension_loaded('curl')) {
7 exit("skip curl extension not loaded");
24 resource(%d) of type (curl)
25 %string|unicode%(4) "curl"
H A Dcurl_write_file.phpt2 Test curl option CURLOPT_FILE
7 Writes the value 'test' to a temporary file. Use curl to access this file and store the output in a…
9 <?php if (!extension_loaded("curl")) print "skip"; ?>
13 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
14 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_basic_005.phpt8 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
15 * Source code: ext/curl/interface.c
22 echo '*** Testing curl with user agent ***' . "\n";
39 *** Testing curl with user agent ***
H A Dcurl_basic_014.phpt6 <?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?>
14 resource(%d) of type (curl)
H A Dcurl_write_callback.phpt2 Test curl option CURLOPT_WRITEFUNCTION
7 Writes the value 'test' to a temporary file. Use curl to access this file, passing the output into …
9 <?php if (!extension_loaded("curl")) print "skip"; ?>
19 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_write_return.phpt2 Test curl option CURLOPT_RETURNTRANSFER
7 Writes the value 'test' to a temporary file. Use curl to access this file and have it return the co…
10 <?php if (!extension_loaded("curl")) print "skip"; ?>
14 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_write_stdout.phpt2 Test curl option CURLOPT_FILE with STDOUT handle
7 Writes the value 'test' to a temporary file. Use curl to access this file and store the output in a…
9 <?php if (!extension_loaded("curl")) print "skip"; ?>
13 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_basic_004.phpt8 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
15 * Source code: ext/curl/interface.c
22 echo '*** Testing curl setting referer ***' . "\n";
39 *** Testing curl setting referer ***
H A Dcurl_basic_003.phpt8 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
15 * Source code: ext/curl/interface.c
22 echo '*** Testing curl sending through GET an POST ***' . "\n";
40 *** Testing curl sending through GET an POST ***
H A Dcurl_setopt_array_basic.phpt7 <?php if (!extension_loaded("curl")) print "skip"; ?>
13 * Source: ext/curl/interface.c
14 * Documentation: http://wiki.php.net/qa/temp/ext/curl
33 // curl handler
36 // options for the curl handler
H A Dcurl_basic_012.phpt6 <?php if (!extension_loaded("curl") || false === getenv(b'PHP_CURL_HTTP_REMOTE_SERVER')) print "ski…
11 * Source code: ext/curl/interface.c
18 echo '*** Testing curl with HTTP/1.0 ***' . "\n";
35 *** Testing curl with HTTP/1.0 ***
H A Dcurl_basic_013.phpt6 <?php if (!extension_loaded("curl") || false === getenv(b'PHP_CURL_HTTP_REMOTE_SERVER')) print "ski…
11 * Source code: ext/curl/interface.c
18 echo '*** Testing curl with HTTP/1.1 ***' . "\n";
35 *** Testing curl with HTTP/1.1 ***
H A Dbug45161.phpt2 Bug #45161 (Reusing a curl handle leaks memory)
8 if (!extension_loaded("curl")) {
9 exit("skip curl extension not loaded");
16 exit("skip: test works only with curl >= 7.17.0");
H A Dcurl_basic_011.phpt6 <?php if (!extension_loaded("curl") || false === getenv(b'PHP_CURL_HTTP_REMOTE_SERVER')) print "ski…
11 * Source code: ext/curl/interface.c
18 echo '*** Testing curl with cookie ***' . "\n";
35 *** Testing curl with cookie ***
H A Dcurl_copy_handle_basic_006.phpt7 <?php if (!extension_loaded("curl") || false === getenv('PHP_CURL_HTTP_REMOTE_SERVER')) print "skip…
13 echo '*** Testing curl copy handle with User Agent ***' . "\n";
28 …exec($copy) since it causes char * inputs to be invalid (see also: http://curl.haxx.se/libcurl/c/c…
34 *** Testing curl copy handle with User Agent ***
H A Dcurl_multi_init_basic.phpt7 <?php if (!extension_loaded("curl")) print "skip"; ?>
12 * Source code : ext/curl/multi.c
13 * Test documentation: http://wiki.php.net/qa/temp/ext/curl
H A Dcurl_basic_016.phpt7 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
10 exit("skip: tests works only on older versions of curl");
H A Dcurl_copy_handle_basic_001.phpt7 <?php if (!extension_loaded("curl") || false === getenv('PHP_CURL_HTTP_REMOTE_SERVER')) print "skip…
13 echo '*** Testing curl copy handle with simple GET ***' . "\n";
32 *** Testing curl copy handle with simple GET ***
/PHP-5.3/ext/standard/tests/file/
H A Dbug53241.phpt6 * curl to test this */
7 if (!extension_loaded("curl")) exit("skip curl extension not loaded");

Completed in 33 milliseconds

1234