Home
last modified time | relevance | path

Searched refs:file (Results 76 – 100 of 2054) sorted by path

12345678910>>...83

/PHP-5.6/ext/curl/tests/
H A Dbug27023_2.phpt14 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 Dbug48203.phpt2 Bug #48203 (Crash when CURLOPT_STDERR is set to regular file)
H A Dbug48203_multi.phpt2 Variation of bug #48203 with curl_multi_exec (Crash when file pointers passed to curl are closed be…
H A Dbug48207.phpt2 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 Dbug54798.phpt2 Bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec)
H A Dbug67643.phpt10 …curl_setopt($ch, CURLOPT_URL, 'file://'. dirname(__FILE__) . DIRECTORY_SEPARATOR .'curl_testdata1.…
H A Dbug68089.phpt10 $url = "file:///etc/passwd\0http://google.com";
H A Dbug69316.phpt24 $f_file = fopen($temp_file, "w") or die("failed to open file\n");
H A Dcheck_win_config.phpt43 Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp,…
H A Dcurl_CURLOPT_READDATA.phpt16 // Create a temporary file to read the data from
37 // Clean the temporary file
H A Dcurl_file_deleted_before_curl_close.phpt2 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 Dcurl_file_serialize.phpt2 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 Dcurl_file_upload.phpt2 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 Dcurl_ftp_pasv.phpt45 // mark the file for upload..
H A Dcurl_multi_getcontent_basic3.phpt2 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 Dcurl_multi_getcontent_error1.phpt19 …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 Dcurl_multi_getcontent_error2.phpt19 …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 Dcurl_multi_getcontent_error3.phpt19 …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 Dcurl_multi_getcontent_error4.phpt19 …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 Dcurl_reset.phpt21 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
25 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
H A Dcurl_setopt_CURLOPT_READFUNCTION.phpt25 $sWriteUrl = 'file://'.$sWriteFile;
H A Dcurl_setopt_array_basic.phpt24 // Create a temporary file for the test
26 $url = 'file://'. $tempname;
27 // add the test data to the file
H A Dcurl_version_variation1.phpt86 fclose($file_handle); //closing the file handle
H A Dcurl_write_callback.phpt7 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 Dcurl_write_file.phpt7 …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);

Completed in 56 milliseconds

12345678910>>...83