Searched refs:hostname (Results 1 - 15 of 15) sorted by relevance

/PHP_5_3/build/
H A Dshtool679 hostname=''
682 hostname="`(uname -n) 2>/dev/null |\
684 if [ ".$hostname" = . ]; then
685 hostname="`(hostname) 2>/dev/null |\
687 if [ ".$hostname" = . ]; then
688 hostname='unknown'
691 case $hostname in
693 domainname=".`echo $hostname | cut -d. -f2-`"
694 hostname
[all...]
/PHP_5_3/ext/oci8/tests/
H A Ddetails.inc11 * string like hostname:port/service_name:POOLED
/PHP_5_3/ext/standard/
H A Ddns_win32.c46 char *hostname; local
53 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|z", &hostname, &hostname_len, &mx_list, &weight_list) == FAILURE) {
57 status = DnsQuery_A(hostname, DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
95 char *hostname, *rectype = NULL; local
102 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) {
130 status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
336 /* {{{ proto array|false dns_get_record(string hostname [, int type[, array authns, array addtl]])
340 char *hostname; local
346 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzz", &hostname, &hostname_len, &type_param, &authns, &addtl) == FAILURE) {
422 status = DnsQuery_A(hostname, type_to_fetc
[all...]
H A Dfsock.c44 char *hostname = NULL; local
59 hostname_len = spprintf(&hostname, 0, "%s:%ld", host, port);
62 hostname = host;
79 stream = php_stream_xport_create(hostname, hostname_len, ENFORCE_SAFE_MODE | REPORT_ERRORS,
83 efree(hostname);
119 /* {{{ proto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
126 /* {{{ proto resource pfsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
H A Dbasic_functions.c986 ZEND_ARG_INFO(0, hostname)
990 ZEND_ARG_INFO(0, hostname)
1006 ZEND_ARG_INFO(0, hostname)
1013 ZEND_ARG_INFO(0, hostname)
1423 ZEND_ARG_INFO(0, hostname)
1431 ZEND_ARG_INFO(0, hostname)
H A Ddns.c69 /* For the local hostname obtained via gethostname which is different from the
157 char *hostname; local
163 hostname = php_gethostbyaddr(addr);
165 if (hostname == NULL) {
173 RETVAL_STRING(hostname, 0);
213 /* {{{ proto string gethostbyname(string hostname)
217 char *hostname; local
221 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &hostname_len) == FAILURE) {
225 addr = php_gethostbyname(hostname);
231 /* {{{ proto array gethostbynamel(string hostname)
235 char *hostname; local
348 char *hostname, *rectype = NULL; local
710 char *hostname; local
896 char *hostname; local
[all...]
/PHP_5_3/ext/interbase/
H A Dibase_service.c34 char *hostname; member in struct:__anon88
49 if (sv->hostname) {
50 efree(sv->hostname);
247 svm->hostname = estrdup(host);
/PHP_5_3/ext/ldap/
H A Dldap.c2190 ZEND_ARG_INFO(0, hostname)
/PHP_5_3/ext/mysqli/
H A Dmysqli_nonapi.c64 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
88 hostname = username = dbname = passwd = socket = NULL;
91 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssssls", &hostname, &hostname_len, &username, &username_len,
110 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
140 if (!hostname || !hostname_len) {
141 hostname = MyG(default_host);
151 if (strlen(SAFE_STR(hostname)) > 2 && !strncasecmp(hostname, "p:", 2)) {
152 hostname += 2;
158 hash_len = spprintf(&hash_key, 0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_ST
[all...]
/PHP_5_3/ext/snmp/
H A Dsnmp.c786 char hostname[MAX_NAME_LEN]; local
811 strlcpy(hostname, a1, sizeof(hostname));
812 if ((pptr = strchr (hostname, ':'))) {
816 session.peername = hostname;
1184 char hostname[MAX_NAME_LEN]; local
1210 /* Reading the hostname and its optional non-default port number */
1211 strlcpy(hostname, a1, sizeof(hostname));
1212 if ((pptr = strchr(hostname, '
[all...]
/PHP_5_3/ext/sybase_ct/
H A Dphp_sybase_ct.c519 STD_PHP_INI_ENTRY("sybct.hostname", NULL, PHP_INI_ALL, OnUpdateString, hostname, zend_sybase_globals, sybase_globals)
659 if (SybCtG(hostname)) {
660 ct_con_props(sybase->connection, CS_SET, CS_HOSTNAME, SybCtG(hostname), CS_NULLTERM, NULL);
H A Dphp_sybase_ct.h71 char *hostname; variable
/PHP_5_3/sapi/apache_hooks/
H A Dphp_apache.c382 /* {{{ proto string ApacheRequest::hostname()
386 apache_request_read_string_slot(offsetof(request_rec, hostname), INTERNAL_FUNCTION_PARAM_PASSTHRU);
1301 PHP_FALIAS(hostname, apache_request_hostname, NULL)
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c140 ZEND_ARG_INFO(0, hostname)
148 ZEND_ARG_INFO(0, hostname)
1035 /* {{{ proto resource mysql_connect([string hostname[:port][:/path/to/socket] [, string username [, string password [, bool new [, int flags]]]]])
1043 /* {{{ proto resource mysql_pconnect([string hostname[:port][:/path/to/socket] [, string username [, string password [, int flags]]]])
/PHP_5_3/sapi/milter/
H A Dphp_milter.c177 static sfsistat mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr) argument
221 ZVAL_STRING(param[0], hostname, 1);

Completed in 33 milliseconds