url 199 ext/curl/interface.c static int php_curl_option_url(php_curl *ch, const char *url, const int len) /* {{{ */ url 208 ext/curl/interface.c if (!(uri = php_url_parse_ex(url, len))) { url 209 ext/curl/interface.c php_error_docref(NULL, E_WARNING, "Invalid URL '%s'", url); url 222 ext/curl/interface.c return php_curl_option_str(ch, CURLOPT_URL, url, len, 0); url 296 ext/curl/interface.c ZEND_ARG_INFO(0, url) url 1884 ext/curl/interface.c char *url = NULL; url 1887 ext/curl/interface.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &url, &url_len) == FAILURE) { url 1907 ext/curl/interface.c if (url) { url 1908 ext/curl/interface.c if (php_curl_option_url(ch, url, url_len) == FAILURE) { url 637 ext/dom/document.c char *url; url 644 ext/dom/document.c url = (char *) docp->URL; url 645 ext/dom/document.c if (url != NULL) { url 646 ext/dom/document.c ZVAL_STRING(retval, url); url 519 ext/filter/logical_filters.c php_url *url; url 529 ext/filter/logical_filters.c url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value)); url 531 ext/filter/logical_filters.c if (url == NULL) { url 535 ext/filter/logical_filters.c if (url->scheme != NULL && (!strcasecmp(url->scheme, "http") || !strcasecmp(url->scheme, "https"))) { url 539 ext/filter/logical_filters.c if (url->host == NULL) { url 543 ext/filter/logical_filters.c s = url->host; url 545 ext/filter/logical_filters.c e = url->host + l; url 550 ext/filter/logical_filters.c php_url_free(url); url 555 ext/filter/logical_filters.c if (!_php_filter_validate_domain(url->host, l, FILTER_FLAG_HOSTNAME)) { url 556 ext/filter/logical_filters.c php_url_free(url); url 562 ext/filter/logical_filters.c url->scheme == NULL || url 564 ext/filter/logical_filters.c (url->host == NULL && (strcmp(url->scheme, "mailto") && strcmp(url->scheme, "news") && strcmp(url->scheme, "file"))) || url 565 ext/filter/logical_filters.c ((flags & FILTER_FLAG_PATH_REQUIRED) && url->path == NULL) || ((flags & FILTER_FLAG_QUERY_REQUIRED) && url->query == NULL) url 568 ext/filter/logical_filters.c php_url_free(url); url 571 ext/filter/logical_filters.c php_url_free(url); url 368 ext/ldap/ldap.c char *url = host; url 369 ext/ldap/ldap.c if (!ldap_is_ldap_url(url)) { url 377 ext/ldap/ldap.c url = emalloc(urllen); url 378 ext/ldap/ldap.c snprintf( url, urllen, "ldap://%s:%ld", host ? host : "", port ); url 384 ext/ldap/ldap.c rc = ldap_initialize(&ldap, url); url 396 ext/ldap/ldap.c if (url != host) { url 397 ext/ldap/ldap.c efree(url); url 2636 ext/ldap/ldap.c int _ldap_rebind_proc(LDAP *ldap, const char *url, ber_tag_t req, ber_int_t msgid, void *params) url 2654 ext/ldap/ldap.c ZVAL_STRING(&cb_args[1], url); url 2507 ext/openssl/xp_ssl.c php_url *url; url 2513 ext/openssl/xp_ssl.c url = php_url_parse_ex(resourcename, resourcenamelen); url 2514 ext/openssl/xp_ssl.c if (!url) { url 2518 ext/openssl/xp_ssl.c if (url->host) { url 2519 ext/openssl/xp_ssl.c const char * host = url->host; url 2532 ext/openssl/xp_ssl.c php_url_free(url); url 2536 ext/openssl/xp_ssl.c php_url_free(url); url 544 ext/phar/dirstream.c int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) /* {{{ */ url 557 ext/phar/dirstream.c if (FAILURE == phar_split_fname(url, strlen(url), &arch, &arch_len, &entry2, &entry_len, 2, 2)) { url 558 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options, "phar error: cannot remove directory \"%s\", no phar archive specified, or phar archive does not exist", url); url 570 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options, "phar error: cannot rmdir directory \"%s\", write operations disabled", url); url 574 ext/phar/dirstream.c if ((resource = phar_parse_url(wrapper, url, "w", options)) == NULL) { url 581 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options, "phar error: invalid url \"%s\"", url); url 587 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options, "phar error: not a phar stream url \"%s\"", url); url 24 ext/phar/dirstream.h int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context); url 569 ext/phar/stream.c static int phar_wrapper_stat(php_stream_wrapper *wrapper, const char *url, int flags, url 579 ext/phar/stream.c if ((resource = phar_parse_url(wrapper, url, "r", flags|PHP_STREAM_URL_STAT_QUIET)) == NULL) { url 678 ext/phar/stream.c static int phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) /* {{{ */ url 687 ext/phar/stream.c if ((resource = phar_parse_url(wrapper, url, "rb", options)) == NULL) { url 695 ext/phar/stream.c php_stream_wrapper_log_error(wrapper, options, "phar error: invalid url \"%s\"", url); url 701 ext/phar/stream.c php_stream_wrapper_log_error(wrapper, options, "phar error: not a phar stream url \"%s\"", url); url 721 ext/phar/stream.c php_stream_wrapper_log_error(wrapper, options, "unlink of \"%s\" failed: %s", url, error); url 724 ext/phar/stream.c php_stream_wrapper_log_error(wrapper, options, "unlink of \"%s\" failed, file does not exist", url); url 29 ext/phar/stream.h static int phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context); url 30 ext/phar/stream.h static int phar_wrapper_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context); url 1686 ext/session/session.c PHPAPI void session_adapt_url(const char *url, size_t urllen, char **new, size_t *newlen) /* {{{ */ url 1689 ext/session/session.c *new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), ZSTR_VAL(PS(id)), newlen, 1); url 2578 ext/standard/basic_functions.c ZEND_ARG_INFO(0, url) url 2599 ext/standard/basic_functions.c ZEND_ARG_INFO(0, url) url 776 ext/standard/ftp_fopen_wrapper.c static int php_stream_ftp_url_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context) url 786 ext/standard/ftp_fopen_wrapper.c stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL); url 899 ext/standard/ftp_fopen_wrapper.c static int php_stream_ftp_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) url 906 ext/standard/ftp_fopen_wrapper.c stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL); url 909 ext/standard/ftp_fopen_wrapper.c php_error_docref(NULL, E_WARNING, "Unable to connect to %s", url); url 916 ext/standard/ftp_fopen_wrapper.c php_error_docref(NULL, E_WARNING, "Invalid path provided in %s", url); url 1028 ext/standard/ftp_fopen_wrapper.c static int php_stream_ftp_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context) url 1035 ext/standard/ftp_fopen_wrapper.c stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL); url 1038 ext/standard/ftp_fopen_wrapper.c php_error_docref(NULL, E_WARNING, "Unable to connect to %s", url); url 1045 ext/standard/ftp_fopen_wrapper.c php_error_docref(NULL, E_WARNING, "Invalid path provided in %s", url); url 1122 ext/standard/ftp_fopen_wrapper.c static int php_stream_ftp_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) url 1129 ext/standard/ftp_fopen_wrapper.c stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL); url 1132 ext/standard/ftp_fopen_wrapper.c php_error_docref(NULL, E_WARNING, "Unable to connect to %s", url); url 1139 ext/standard/ftp_fopen_wrapper.c php_error_docref(NULL, E_WARNING, "Invalid path provided in %s", url); url 715 ext/standard/url.c char *url; url 723 ext/standard/url.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &url, &url_len, &format) == FAILURE) { url 728 ext/standard/url.c if (!(stream = php_stream_open_wrapper_ex(url, "r", REPORT_ERRORS | STREAM_USE_URL | STREAM_ONLY_GET_HEADERS, NULL, context))) { url 110 ext/standard/url_scanner_ex.c static inline void append_modified_url(smart_str *url, smart_str *dest, smart_str *url_app, const char *separator) url 116 ext/standard/url_scanner_ex.c q = (p = ZSTR_VAL(url->s)) + ZSTR_LEN(url->s); url 165 ext/standard/url_scanner_ex.c { smart_str_append_smart_str(dest, url); return; } url 185 ext/standard/url_scanner_ex.c if (bash && bash - ZSTR_VAL(url->s) == 0) { url 186 ext/standard/url_scanner_ex.c smart_str_append_smart_str(dest, url); url 191 ext/standard/url_scanner_ex.c smart_str_appendl(dest, ZSTR_VAL(url->s), bash - ZSTR_VAL(url->s)); url 193 ext/standard/url_scanner_ex.c smart_str_append_smart_str(dest, url); url 866 ext/standard/url_scanner_ex.c PHPAPI char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, int urlencode) url 874 ext/standard/url_scanner_ex.c smart_str_appendl(&surl, url, urllen); url 30 ext/standard/url_scanner_ex.h PHPAPI char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, int urlencode); url 700 main/fopen_wrappers.c PHPAPI char *php_strip_url_passwd(char *url) url 704 main/fopen_wrappers.c if (url == NULL) { url 708 main/fopen_wrappers.c p = url; url 730 main/fopen_wrappers.c return url; url 734 main/fopen_wrappers.c return url; url 143 main/php_streams.h int (*url_stat)(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context); url 151 main/php_streams.h int (*unlink)(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context); url 157 main/php_streams.h int (*stream_mkdir)(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context); url 158 main/php_streams.h int (*stream_rmdir)(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context); url 160 main/php_streams.h int (*stream_metadata)(php_stream_wrapper *wrapper, const char *url, int options, void *value, php_stream_context *context); url 1057 main/streams/plain_wrapper.c static int php_plain_files_url_stater(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context) url 1059 main/streams/plain_wrapper.c if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { url 1060 main/streams/plain_wrapper.c url += sizeof("file://") - 1; url 1063 main/streams/plain_wrapper.c if (php_check_open_basedir_ex(url, (flags & PHP_STREAM_URL_STAT_QUIET) ? 0 : 1)) { url 1069 main/streams/plain_wrapper.c return VCWD_LSTAT(url, &ssb->sb); url 1074 main/streams/plain_wrapper.c return VCWD_LSTAT(url, &ssb->sb); url 1078 main/streams/plain_wrapper.c return VCWD_STAT(url, &ssb->sb); url 1081 main/streams/plain_wrapper.c static int php_plain_files_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) url 1085 main/streams/plain_wrapper.c if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { url 1086 main/streams/plain_wrapper.c url += sizeof("file://") - 1; url 1089 main/streams/plain_wrapper.c if (php_check_open_basedir(url)) { url 1093 main/streams/plain_wrapper.c ret = VCWD_UNLINK(url); url 1096 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "%s", strerror(errno)); url 1277 main/streams/plain_wrapper.c static int php_plain_files_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) url 1279 main/streams/plain_wrapper.c if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { url 1280 main/streams/plain_wrapper.c url += sizeof("file://") - 1; url 1283 main/streams/plain_wrapper.c if (php_check_open_basedir(url)) { url 1288 main/streams/plain_wrapper.c if (!php_win32_check_trailing_space(url, (int)strlen(url))) { url 1289 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "%s", strerror(ENOENT)); url 1294 main/streams/plain_wrapper.c if (VCWD_RMDIR(url) < 0) { url 1295 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "%s", strerror(errno)); url 1305 main/streams/plain_wrapper.c static int php_plain_files_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context) url 1315 main/streams/plain_wrapper.c int url_len = (int)strlen(url); url 1319 main/streams/plain_wrapper.c if (!php_win32_check_trailing_space(url, url_len)) { url 1320 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "%s", strerror(ENOENT)); url 1325 main/streams/plain_wrapper.c if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { url 1326 main/streams/plain_wrapper.c url += sizeof("file://") - 1; url 1329 main/streams/plain_wrapper.c if (php_check_open_basedir(url)) { url 1336 main/streams/plain_wrapper.c if (VCWD_ACCESS(url, F_OK) != 0) { url 1337 main/streams/plain_wrapper.c FILE *file = VCWD_FOPEN(url, "w"); url 1339 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "Unable to create file %s because %s", url, strerror(errno)); url 1345 main/streams/plain_wrapper.c ret = VCWD_UTIME(url, newtime); url 1352 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "Unable to find uid for %s", (char *)value); url 1358 main/streams/plain_wrapper.c ret = VCWD_CHOWN(url, uid, -1); url 1364 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "Unable to find gid for %s", (char *)value); url 1370 main/streams/plain_wrapper.c ret = VCWD_CHOWN(url, -1, gid); url 1375 main/streams/plain_wrapper.c ret = VCWD_CHMOD(url, mode); url 1378 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "Unknown option %d for stream_metadata", option); url 1382 main/streams/plain_wrapper.c php_error_docref1(NULL, url, E_WARNING, "Operation failed: %s", strerror(errno)); url 49 main/streams/userspace.c static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context); url 50 main/streams/userspace.c static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context); url 52 main/streams/userspace.c static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context); url 53 main/streams/userspace.c static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context); url 54 main/streams/userspace.c static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context); url 1093 main/streams/userspace.c static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) url 1109 main/streams/userspace.c ZVAL_STRING(&args[0], url); url 1182 main/streams/userspace.c static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, url 1199 main/streams/userspace.c ZVAL_STRING(&args[0], url); url 1230 main/streams/userspace.c static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, url 1247 main/streams/userspace.c ZVAL_STRING(&args[0], url); url 1276 main/streams/userspace.c static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, url 1318 main/streams/userspace.c ZVAL_STRING(&args[0], url); url 1349 main/streams/userspace.c static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, url 1366 main/streams/userspace.c ZVAL_STRING(&args[0], url); url 662 sapi/cli/php_http_parser.c MARK(url); url 671 sapi/cli/php_http_parser.c MARK(url); url 727 sapi/cli/php_http_parser.c CALLBACK(url); url 749 sapi/cli/php_http_parser.c CALLBACK(url); url 764 sapi/cli/php_http_parser.c CALLBACK(url); url 769 sapi/cli/php_http_parser.c CALLBACK(url); url 776 sapi/cli/php_http_parser.c CALLBACK(url); url 808 sapi/cli/php_http_parser.c CALLBACK(url); url 812 sapi/cli/php_http_parser.c CALLBACK(url); url 818 sapi/cli/php_http_parser.c CALLBACK(url); url 841 sapi/cli/php_http_parser.c CALLBACK(url); url 846 sapi/cli/php_http_parser.c CALLBACK(url); url 853 sapi/cli/php_http_parser.c CALLBACK(url); url 879 sapi/cli/php_http_parser.c CALLBACK(url); url 883 sapi/cli/php_http_parser.c CALLBACK(url); url 889 sapi/cli/php_http_parser.c CALLBACK(url); url 912 sapi/cli/php_http_parser.c CALLBACK(url); url 917 sapi/cli/php_http_parser.c CALLBACK(url); url 924 sapi/cli/php_http_parser.c CALLBACK(url); url 1573 sapi/cli/php_http_parser.c CALLBACK_NOCLEAR(url);