Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 152) sorted by relevance

1234567

/PHP-8.2/ext/curl/tests/
H A Dcurl_basic_015.phpt2 Test curl_init() function with $url parameter defined
9 $url = 'http://www.example.com/';
10 $ch = curl_init($url);
11 var_dump($url == curl_getinfo($ch, CURLINFO_EFFECTIVE_URL));
H A Dcurl_error_basic.phpt2 curl_error() function - basic test for curl_error using a fake url
11 $url = "fakeURL";
12 $ip = gethostbyname($url);
13 if ($ip != $url) die("skip 'fakeURL' resolves to $ip\n");
25 $url = "fakeURL";
30 $ch = curl_init($url);
H A Dcurl_basic_019.phpt12 $url = "http://{$host}/get.inc?test=";
15 curl_setopt($ch, CURLOPT_URL, $url);
18 var_dump($url == $info);
H A Dcurl_basic_011.phpt15 $url = "{$host}/get.inc?test=cookie";
21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_basic_012.phpt15 $url = "{$host}/get.inc?test=httpversion";
21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_basic_013.phpt15 $url = "{$host}/get.inc?test=httpversion";
21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_basic_002.phpt16 $url = "{$host}/get.inc?test=get";
21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_basic_005.phpt16 $url = "{$host}/get.inc?test=useragent";
22 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_copy_handle_basic_004.phpt16 $url = "{$host}/get.inc?test=getpost&get_param=Hello%20World";
21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_basic_001.phpt16 $url = "{$host}/get.inc?test=get";
20 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_basic_004.phpt16 $url = "{$host}/get.inc?test=referer";
22 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_basic_006.phpt16 $url = "{$host}/get.inc?test=get";
20 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_copy_handle_basic_001.phpt16 $url = "{$host}/get.inc?test=getpost&get_param=Hello%20World";
21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
H A Dcurl_setopt_basic004.phpt17 $url = "{$host}/";
21 curl_setopt($ch, CURLOPT_URL, $url);
33 curl_setopt($ch, CURLOPT_URL, $url);
H A Dbug77946.phpt13 foreach ($urls as $i => $url) {
14 $conn[$i] = curl_init($url);
28 foreach ($urls as $i => $url) {
H A Dcurl_multi_info_read.phpt15 foreach ($urls as $i => $url) {
16 $conn[$i] = curl_init($url);
29 foreach ($urls as $i => $url) {
H A Dbug55767.phpt13 $url = "{$host}/get.inc?test=getpost&get_param=Hello%20World";
20 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
/PHP-8.2/ext/standard/tests/url/
H A Dparse_url_error_002.phpt2 Test parse_url() function: url component specifier out of range
5 echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n";
6 $url = 'http://secret:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_re…
9 var_dump(parse_url($url, -1));
13 parse_url($url, 99);
21 *** Testing parse_url() : error conditions: url component specifier out of range ***
/PHP-8.2/ext/standard/tests/file/
H A Dbug43008.phpt2 Bug #43008 (php://filter uris ignore url encoded filternames and can't handle slashes)
9 $url = ""
16 var_dump(urlencode(file_get_contents($url)));
H A Dbug44034.phpt13 foreach($urls as $url) {
14 echo strtr($url, array("\r" => "\\r", "\n" => "\\n")) . "\n";
15 var_dump(file($url, FILE_IGNORE_NEW_LINES));
/PHP-8.2/ext/filter/
H A Dlogical_filters.c593 php_url *url; in php_filter_validate_url() local
605 if (url == NULL) { in php_filter_validate_url()
614 if (url->host == NULL) { in php_filter_validate_url()
628 php_url_free(url); in php_filter_validate_url()
634 url->scheme == NULL || in php_filter_validate_url()
636url->host == NULL && (!zend_string_equals_literal(url->scheme, "mailto") && !zend_string_equals_li… in php_filter_validate_url()
640 php_url_free(url); in php_filter_validate_url()
644 if ((url->user != NULL && !is_userinfo_valid(url->user)) in php_filter_validate_url()
645 || (url->pass != NULL && !is_userinfo_valid(url->pass)) in php_filter_validate_url()
647 php_url_free(url); in php_filter_validate_url()
[all …]
/PHP-8.2/ext/standard/tests/http/
H A Dbug78719.phpt11 $url = str_repeat('*', 2000);
13 "data://text/plain,HTTP/1.0 302 Ok\r\nLocation: $url\r\n\r\nBody",
20 var_dump(stream_get_meta_data($stream)['wrapper_data'][1] === "Location: $url");
/PHP-8.2/main/streams/
H A Dplain_wrapper.c1216 url += sizeof("file://") - 1; in php_plain_files_url_stater()
1235 return VCWD_STAT(url, &ssb->sb); in php_plain_files_url_stater()
1243 url += sizeof("file://") - 1; in php_plain_files_unlink()
1250 ret = VCWD_UNLINK(url); in php_plain_files_unlink()
1460 url += sizeof("file://") - 1; in php_plain_files_rmdir()
1468 if (!php_win32_check_trailing_space(url, strlen(url))) { in php_plain_files_rmdir()
1474 if (VCWD_RMDIR(url) < 0) { in php_plain_files_rmdir()
1496 if (!php_win32_check_trailing_space(url, strlen(url))) { in php_plain_files_metadata()
1503 url += sizeof("file://") - 1; in php_plain_files_metadata()
1522 ret = VCWD_UTIME(url, newtime); in php_plain_files_metadata()
[all …]
/PHP-8.2/ext/soap/tests/
H A Dbug71610.phpt16 $url = "http://" . PHP_CLI_SERVER_ADDRESS;
17 $ser = 'O:10:"SoapClient":3:{s:3:"uri";s:1:"a";s:8:"location";s:' . strlen($url) . ':"'
18 . $url . '";s:8:"_cookies";a:1:{s:8:"manhluat";a:3:{i:0;s:0:"";i:1;N;i:2;N;}}}';
/PHP-8.2/ext/standard/tests/streams/
H A Dbug44818.phpt5 function test($url, $mode) {
6 echo "$url, $mode\n";
7 $fd = fopen($url, $mode);

Completed in 57 milliseconds

1234567