Searched defs:url (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/win32/build/
H A Dmkdist.php487 $url = "http://pear.php.net/get/$filename"; variable
488 echo "Downloading $name from $url\n";
490 copy($url, $destfilename);
/PHP_TRUNK/ext/phar/
H A Ddirstream.c9 | available through the world-wide-web at the following url: |
315 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path);
327 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path);
333 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar url \"%s\"", path);
446 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", url_from);
452 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar stream url \"%s\"", url_from);
544 int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) /* {{{ */ argument
557 if (FAILURE == phar_split_fname(url, strlen(url), &arch, &arch_len, &entry2, &entry_len, 2, 2 TSRMLS_CC)) {
558 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot remove directory \"%s\", no phar archive specified, or phar archive does not exist", url);
[all...]
H A Dstream.c9 | available through the world-wide-web at the following url: |
80 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url or non-existent phar \"%s\"", filename);
177 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", path);
183 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar stream url \"%s\"", path);
565 static int phar_wrapper_stat(php_stream_wrapper *wrapper, const char *url, int flags, argument
575 if ((resource = phar_parse_url(wrapper, url, "r", flags|PHP_STREAM_URL_STAT_QUIET TSRMLS_CC)) == NULL) {
674 static int phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) /* {{{ */ argument
683 if ((resource = phar_parse_url(wrapper, url, "rb", options TSRMLS_CC)) == NULL) {
691 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", url);
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c9 | available through the world-wide-web at the following url: |
636 char *url; local
643 url = (char *) docp->URL;
644 if (url != NULL) {
645 ZVAL_STRING(retval, url);
/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c9 | available through the world-wide-web at the following url: |
777 static int php_stream_ftp_url_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
787 stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL TSRMLS_CC);
900 static int php_stream_ftp_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
907 stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRMLS_CC);
910 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to connect to %s", url);
917 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid path provided in %s", url);
1029 static int php_stream_ftp_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1036 stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRMLS_CC);
1039 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to connect to %s", url);
1123 php_stream_ftp_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Durl_scanner_ex.c11 | available through the world-wide-web at the following url: |
40 #include "url.h"
112 static inline void append_modified_url(smart_str *url, smart_str *dest, smart_str *url_app, const char *separator) argument
118 q = (p = url->s->val) + url->s->len;
169 { smart_str_append_smart_str(dest, url); return; }
197 if (bash && bash - url->s->val == 0) {
198 smart_str_append_smart_str(dest, url);
203 smart_str_appendl(dest, url->s->val, bash - url
918 php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen TSRMLS_DC) argument
[all...]
H A Durl.c9 | available through the world-wide-web at the following url: |
27 #include "url.h"
299 /* check if we have a valid host, if we don't reject the string as url */
369 /* {{{ proto mixed parse_url(string url, [int url_component])
708 /* {{{ proto array get_headers(string url[, int format])
712 char *url; local
720 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &url, &url_len, &format) == FAILURE) {
725 if (!(stream = php_stream_open_wrapper_ex(url, "r", REPORT_ERRORS | STREAM_USE_URL | STREAM_ONLY_GET_HEADERS, NULL, context))) {
/PHP_TRUNK/main/
H A Dfopen_wrappers.c9 | available through the world-wide-web at the following url: |
701 PHPAPI char *php_strip_url_passwd(char *url) argument
705 if (url == NULL) {
709 p = url;
731 return url;
735 return url;
/PHP_TRUNK/main/streams/
H A Duserspace.c9 | available through the world-wide-web at the following url: |
49 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC);
50 static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
52 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context TSRMLS_DC);
53 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
54 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context TSRMLS_DC);
227 function url_stat(string $url, int $flags)
232 function unlink(string $url)
252 function dir_opendir(string $url, int $options)
1085 static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, in argument
1174 user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1222 user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
1268 user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context TSRMLS_DC) argument
1341 user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Dplain_wrapper.c9 | available through the world-wide-web at the following url: |
1032 static int php_plain_files_url_stater(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
1036 if ((p = strstr(url, "://")) != NULL) {
1037 if (p < strchr(url, '/')) {
1038 url = p + 3;
1042 if (php_check_open_basedir_ex(url, (flags & PHP_STREAM_URL_STAT_QUIET) ? 0 : 1 TSRMLS_CC)) {
1049 return VCWD_LSTAT(url, &ssb->sb);
1055 return VCWD_LSTAT(url, &ssb->sb);
1059 return VCWD_STAT(url, &ssb->sb);
1062 static int php_plain_files_unlink(php_stream_wrapper *wrapper, const char *url, in argument
1268 php_plain_files_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
1295 php_plain_files_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context TSRMLS_DC) argument
[all...]
/PHP_TRUNK/
H A Dserver-tests.php10 | available through the world-wide-web at the following url: |
161 $url = QA_SUBMISSION_PAGE.'?'.$query; variable
163 $r = new HTTPRequest($url,NULL,NULL,$post);
244 public $url = ''; variable
256 URL is the full url
274 $this->url = $URL; variable
428 'u' => array('TEST_WEB_BASE_URL' ,'url' ,'' ,'base url for http testing'),
572 $url = $this->conf['TEST_WEB_BASE_URL'] . $pi; variable
574 $fd = fopen($url, "r
1302 $url = $this->conf['TEST_SERVER_URL']; variable
[all...]
H A Drun-tests.php11 | available through the world-wide-web at the following url: |
724 --temp-source <sdir> --temp-target <tdir> [--temp-urlbase <url>]
727 <url> given then the generated links are relative and prefixed
728 with the given url. In general you want to make <sdir> the path
730 hierarchy with <url> pointing to <tdir>.
2586 $url = str_replace($temp_target, $temp_urlbase, $temp_filenames['file']); variable
2587 $tested = "<a href='$url'>$tested</a>";
2596 $url = str_replace($temp_target, $temp_urlbase, $temp_filenames['skip']); variable
2597 $extra = "<a href='$url'>$extra</a>";
2604 $url variable
2611 $url = str_replace($temp_target, $temp_urlbase, $temp_filenames['mem']); variable
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c9 | available through the world-wide-web at the following url: |
2429 int _ldap_rebind_proc(LDAP *ldap, const char *url, ber_tag_t req, ber_int_t msgid, void *params) argument
2448 ZVAL_STRING(&cb_args[1], url);
/PHP_TRUNK/ext/session/
H A Dsession.c9 | available through the world-wide-web at the following url: |
52 #include "ext/standard/url.h"
1630 PHPAPI void session_adapt_url(const char *url, size_t urllen, char **new, size_t *newlen TSRMLS_DC) /* {{{ */ argument
1633 *new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), PS(id)->val, newlen TSRMLS_CC);
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c9 | available through the world-wide-web at the following url: |
24 #include "ext/standard/url.h"
457 php_url *url; local
467 url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value));
469 if (url == NULL) {
473 if (url->scheme != NULL && (!strcasecmp(url->scheme, "http") || !strcasecmp(url->scheme, "https"))) {
476 if (url->host == NULL) {
480 e = url
[all...]
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c9 | available through the world-wide-web at the following url: |
29 #include "ext/standard/url.h"
484 /* If no peer name was specified we use the autodetected url name in client environments */
2149 php_url *url; local
2155 url = php_url_parse_ex(resourcename, resourcenamelen);
2156 if (!url) {
2160 if (url->host) {
2161 const char * host = url->host;
2174 php_url_free(url);
2178 php_url_free(url);
[all...]
/PHP_TRUNK/ext/curl/
H A Dinterface.c9 | available through the world-wide-web at the following url: |
88 #include "ext/standard/url.h"
198 static int php_curl_option_url(php_curl *ch, const char *url, const int len TSRMLS_DC) /* {{{ */ argument
207 if (!(uri = php_url_parse_ex(url, len))) {
208 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid URL '%s'", url);
221 return php_curl_option_str(ch, CURLOPT_URL, url, len, 0 TSRMLS_CC);
296 ZEND_ARG_INFO(0, url)
1865 /* {{{ proto resource curl_init([string url])
1871 char *url = NULL; local
1874 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &url,
[all...]

Completed in 43 milliseconds