/PHP-5.4/ext/curl/ |
H A D | config.w32 | 4 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 D | config.m4 | 5 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 D | streams.c | 217 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 D | curl.dsp | 7 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.4/ext/curl/tests/ |
H A D | bug52202.phpt | 5 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 D | bug62839.phpt | 4 <?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 D | bug48514.phpt | 6 if (!extension_loaded('curl')) { 7 exit("skip curl extension not loaded"); 24 resource(%d) of type (curl) 25 %string|unicode%(4) "curl"
|
H A D | curl_write_file.phpt | 2 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 D | curl_basic_005.phpt | 8 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 D | curl_basic_014.phpt | 6 <?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?> 14 resource(%d) of type (curl)
|
H A D | curl_basic_004.phpt | 8 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 D | curl_write_callback.phpt | 2 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 D | curl_write_return.phpt | 2 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 D | curl_write_stdout.phpt | 2 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 D | curl_setopt_array_basic.phpt | 7 <?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 D | bug55767.phpt | 5 if (!extension_loaded("curl")) exit("skip curl extension not loaded"); 12 * Source code: ext/curl/interface.c 19 echo '*** Testing curl sending through GET an POST ***' . "\n"; 37 *** Testing curl sending through GET an POST ***
|
H A D | curl_basic_003.phpt | 8 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 D | curl_basic_012.phpt | 6 <?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 D | curl_basic_013.phpt | 6 <?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 D | bug45161.phpt | 2 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 D | curl_basic_011.phpt | 6 <?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 D | curl_copy_handle_basic_006.phpt | 7 <?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 D | curl_multi_init_basic.phpt | 7 <?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 D | bug65458.phpt | 2 Bug #65458 (curl memory leak) 5 if (!extension_loaded('curl')) exit("skip curl extension not loaded");
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | bug53241.phpt | 6 * curl to test this */ 7 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
|