/PHP-5.6/ext/curl/tests/ |
H A D | bug27023_2.phpt | 14 curl_setopt($ch, CURLOPT_URL, "{$host}/get.php?test=file"); 17 $file = curl_file_create(__DIR__ . '/curl_testdata1.txt'); 18 $params = array('file' => $file); 22 $file = curl_file_create(__DIR__ . '/curl_testdata1.txt', "text/plain"); 23 $params = array('file' => $file); 27 $file = curl_file_create(__DIR__ . '/curl_testdata1.txt', null, "foo.txt"); 28 $params = array('file' => $file); 32 $file = curl_file_create(__DIR__ . '/curl_testdata1.txt', "text/plain", "foo.txt"); 33 $params = array('file' => $file);
|
H A D | bug48203.phpt | 2 Bug #48203 (Crash when CURLOPT_STDERR is set to regular file)
|
H A D | bug48203_multi.phpt | 2 Variation of bug #48203 with curl_multi_exec (Crash when file pointers passed to curl are closed be…
|
H A D | bug48207.phpt | 2 Test curl_setopt() CURLOPT_FILE readonly file handle 11 * Description : Adds a file which stores the received data from curl_exec(); 26 // Create a temporary file for the test 28 $url = 'file://'. $tempname; 30 // add the test data to the file 46 Warning: curl_setopt(): the provided file handle is not writable in %s on line %d
|
H A D | bug54798.phpt | 2 Bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec)
|
H A D | bug67643.phpt | 10 …curl_setopt($ch, CURLOPT_URL, 'file://'. dirname(__FILE__) . DIRECTORY_SEPARATOR .'curl_testdata1.…
|
H A D | bug68089.phpt | 10 $url = "file:///etc/passwd\0http://google.com";
|
H A D | bug69316.phpt | 24 $f_file = fopen($temp_file, "w") or die("failed to open file\n");
|
H A D | check_win_config.phpt | 43 Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp,…
|
H A D | curl_CURLOPT_READDATA.phpt | 16 // Create a temporary file to read the data from 37 // Clean the temporary file
|
H A D | curl_file_deleted_before_curl_close.phpt | 2 Memory corruption error if fp of just created file is closed before curl_close. 16 unlink($temp_file); // file should not exist before test 29 //unlink($temp_file); // uncomment to test segfault (file not found on iowrite.c)
|
H A D | curl_file_serialize.phpt | 2 CURL file uploading 11 $data = 'a:2:{s:4:"file";O:8:"CURLFile":3:{s:4:"name";s:13:"testdata1.txt";s:4:"mime";s:0:"";s:8:"p…
|
H A D | curl_file_upload.phpt | 2 CURL file uploading 14 $file = new CurlFile($name, $mime); 16 $file = new CurlFile($name); 18 curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file)); 34 $file->setMimeType('text/plain'); 35 var_dump($file->getMimeType()); 36 var_dump($file->getFilename()); 37 curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file)); 41 $file->setPostFilename('foo.txt'); 43 curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file)); [all …]
|
H A D | curl_ftp_pasv.phpt | 45 // mark the file for upload..
|
H A D | curl_multi_getcontent_basic3.phpt | 2 Curl_multi_getcontent() basic test with different sources (local file/http) 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.…
|
H A D | curl_multi_getcontent_error1.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.…
|
H A D | curl_multi_getcontent_error2.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.…
|
H A D | curl_multi_getcontent_error3.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.…
|
H A D | curl_multi_getcontent_error4.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.…
|
H A D | curl_reset.phpt | 21 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file); 25 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
|
H A D | curl_setopt_CURLOPT_READFUNCTION.phpt | 25 $sWriteUrl = 'file://'.$sWriteFile;
|
H A D | curl_setopt_array_basic.phpt | 24 // Create a temporary file for the test 26 $url = 'file://'. $tempname; 27 // add the test data to the file
|
H A D | curl_version_variation1.phpt | 86 fclose($file_handle); //closing the file handle
|
H A D | curl_write_callback.phpt | 7 Writes the value 'test' to a temporary file. Use curl to access this file, passing the output into … 27 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
|
H A D | curl_write_file.phpt | 7 …tes the value 'test' to a temporary file. Use curl to access this file and store the output in ano… 24 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
|