| /PHP_5_5/ext/ftp/ |
| H A D | ftp.c | 242 ftp_login(ftpbuf_t *ftp, const char *user, const char *pass TSRMLS_DC) argument 328 if (!ftp_putcmd(ftp, "USER", user)) {
|
| H A D | php_ftp.c | 416 char *user, *pass; local 419 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &z_ftp, &user, &user_len, &pass, &pass_len) == FAILURE) { 426 if (!ftp_login(ftp, user, pass TSRMLS_CC)) {
|
| /PHP_5_5/ext/imap/ |
| H A D | php_imap.c | 104 ZEND_ARG_INFO(0, user) 1148 char *mailbox, *user, *passwd; local 1156 if (zend_parse_parameters(argc TSRMLS_CC, "pss|lla", &mailbox, &mailbox_len, &user, &user_len, 1226 IMAPG(imap_user) = estrndup(user, user_len); 1256 /* {{{ proto resource imap_open(string mailbox, string user, string password [, int options [, int n_retries]]) 5053 PHP_IMAP_EXPORT void mm_login(NETMBX *mb, char *user, char *pwd, long trial) argument 5057 if (*mb->user) { 5058 strlcpy (user, mb->user, MAILTMPLEN); 5060 strlcpy (user, IMAP [all...] |
| /PHP_5_5/ext/interbase/ |
| H A D | ibase_service.c | 138 /* user = 0, password = 1, first_name = 2, middle_name = 3, last_name = 4 */ 186 Add a user to security database */ 194 Modify a user in security database */ 202 Delete a user from security database */ 215 char buf[128], *host, *user, *pass, *loc; local 221 &host, &hlen, &user, &ulen, &pass, &plen)) { 229 user, isc_spb_password, (char)plen, pass, host); 248 svm->username = estrdup(user); 363 zval *user; local 373 ALLOC_INIT_ZVAL(user); [all...] |
| /PHP_5_5/ext/mssql/ |
| H A D | php_mssql.c | 541 char *host = NULL, *user = NULL, *passwd = NULL; local 549 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sssb", &host, &host_len, &user, &user_len, &passwd, &passwd_len, &new_link) == FAILURE) { 558 user[255] = '\0'; 576 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_", host, user); 580 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_%s", host, user, passwd); 607 if (user) { 608 DBSETLUSER(mssql.login,user);
|
| /PHP_5_5/ext/oci8/ |
| H A D | oci8_interface.c | 1594 /* {{{ proto resource oci_new_connect(string user, string pass [, string db]) 1602 /* {{{ proto resource oci_connect(string user, string pass [, string db [, string charset [, int session_mode ]]) 1610 /* {{{ proto resource oci_pconnect(string user, string pass [, string db [, string charset ]]) 1909 char *user, *pass_old, *pass_new, *dbname; local 1921 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "rsss", &z_connection, &user, &user_len, &pass_old, &pass_old_len, &pass_new, &pass_new_len) == SUCCESS) { 1937 if (php_oci_password_change(connection, user, user_len, pass_old, pass_old_len, pass_new, pass_new_len TSRMLS_CC)) { 1941 } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "ssss", &dbname, &dbname_len, &user, &user_len, &pass_old, &pass_old_len, &pass_new, &pass_new_len) == SUCCESS) { 1956 connection = php_oci_do_connect_ex(user, user_len, pass_old, pass_old_len, pass_new, pass_new_len, dbname, dbname_len, NULL, OCI_DEFAULT, 0, 0 TSRMLS_CC);
|
| /PHP_5_5/ext/odbc/ |
| H A D | birdstep.c | 55 ZEND_ARG_INFO(0, user) 123 * but should in reality warn the user that this functionality is 285 /* {{{ proto int birdstep_connect(string server, string user, string pass) 289 char *serv, *user, *pass; local 296 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss", &serv, &serv_len, &user, &user_len, &pass, &pass_len) == FAILURE) { 310 stat = SQLConnect(hdbc, serv, SQL_NTS, user, SQL_NTS, pass, SQL_NTS); 312 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: Could not connect to server \"%s\" for %s", serv, user);
|
| /PHP_5_5/ext/session/ |
| H A D | mod_user.h | 27 PS_FUNCS(user); variable
|
| /PHP_5_5/ext/standard/ |
| H A D | filestat.c | 561 zval *user; local 568 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, &filename_len, &user) == FAILURE) { 577 if (Z_TYPE_P(user) == IS_LONG) { 579 value = &Z_LVAL_P(user); 580 } else if (Z_TYPE_P(user) == IS_STRING) { 582 value = Z_STRVAL_P(user); 584 php_error_docref(NULL TSRMLS_CC, E_WARNING, "parameter 2 should be string or integer, %s given", zend_zval_type_name(user)); 606 if (Z_TYPE_P(user) == IS_LONG) { 607 uid = (uid_t)Z_LVAL_P(user); 608 } else if (Z_TYPE_P(user) [all...] |
| H A D | url.h | 25 char *user; member in struct:php_url
|
| /PHP_5_5/ext/sybase_ct/ |
| H A D | php_sybase_ct.c | 47 ZEND_ARG_INFO(0, user) 56 ZEND_ARG_INFO(0, user) 629 static int php_sybase_do_connect_internal(sybase_link *sybase, char *host, char *user, char *passwd, char *charset, char *appname TSRMLS_DC) argument 647 if (user) { 648 ct_con_props(sybase->connection, CS_SET, CS_USERNAME, user, CS_NULLTERM, NULL); 731 char *user = NULL, *passwd = NULL, *host = NULL, *charset = NULL, *appname = NULL; local 737 host= user= passwd= charset= appname= NULL; 739 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len) == FAILURE) { 743 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!b", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len, &new) == FAILURE) { 752 user [all...] |
| /PHP_5_5/ext/xml/ |
| H A D | compat.c | 50 _start_element_handler(void *user, const xmlChar *name, const xmlChar **attributes) argument 52 XML_Parser parser = (XML_Parser) user; 76 parser->h_default(parser->user, (const XML_Char *) qualified_name, xmlStrlen(qualified_name)); 84 parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attributes); 90 _start_element_handler_ns(void *user, const xmlChar *name, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar ** namespaces, int nb_attributes, int nb_defaulted, const xmlChar ** attributes) argument 92 XML_Parser parser = (XML_Parser) user; 101 parser->h_start_ns(parser->user, (const XML_Char *) namespaces[y], (const XML_Char *) namespaces[y+1]); 164 parser->h_default(parser->user, (const XML_Char *) qualified_name, xmlStrlen(qualified_name)); 190 parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attrs); 205 parser->h_end_ns(parser->user, nspt 210 _end_element_handler(void *user, const xmlChar *name) argument 234 _end_element_handler_ns(void *user, const xmlChar *name, const xmlChar * prefix, const xmlChar *URI) argument 263 _cdata_handler(void *user, const xmlChar *cdata, int cdata_len) argument 278 _pi_handler(void *user, const xmlChar *target, const xmlChar *data) argument 296 _unparsed_entity_decl_handler(void *user, const xmlChar *name, const xmlChar *pub_id, const xmlChar *sys_id, const xmlChar *notation) argument 312 _notation_decl_handler(void *user, const xmlChar *notation, const xmlChar *pub_id, const xmlChar *sys_id) argument 337 _comment_handler(void *user, const xmlChar *comment) argument 363 _external_entity_ref_handler(void *user, const xmlChar *names, int type, const xmlChar *sys_id, const xmlChar *pub_id, xmlChar *content) argument 375 _get_entity(void *user, const xmlChar *name) argument 504 XML_SetUserData(XML_Parser parser, void *user) argument [all...] |
| H A D | expat_compat.h | 66 void *user; member in struct:_XML_Parser
|
| /PHP_5_5/main/ |
| H A D | fopen_wrappers.c | 373 char user[32]; /* to try open the directory */ local 387 if (length > (int)sizeof(user) - 1) { 388 length = sizeof(user) - 1; 390 memcpy(user, path_info + 2, length); 391 user[length] = '\0'; 393 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) { 398 pw = getpwnam(user);
|
| H A D | output.c | 435 * Start a user level output handler */ 470 * Create a user level output handler */ 476 php_output_handler_user_func_t *user = NULL; local 488 user = ecalloc(1, sizeof(php_output_handler_user_func_t)); 489 if (SUCCESS == zend_fcall_info_init(output_handler, 0, &user->fci, &user->fcc, &handler_name, &error TSRMLS_CC)) { 492 user->zoh = output_handler; 493 handler->func.user = user; 495 efree(user); [all...] |
| H A D | php_output.h | 141 php_output_handler_user_func_t *user; member in union:_php_output_handler::__anon278
|
| H A D | main.c | 565 STD_PHP_INI_ENTRY("user_ini.filename", ".user.ini", PHP_INI_SYSTEM, OnUpdateString, user_ini_filename, php_core_globals, core_globals) 800 * - the user wants to see the links 2560 char *user; local 2562 user = php_base64_decode(auth + 6, strlen(auth) - 6, NULL); 2563 if (user) { 2564 pass = strchr(user, ':'); 2567 SG(request_info).auth_user = user; 2571 efree(user);
|
| /PHP_5_5/ext/mysqlnd/ |
| H A D | mysqlnd_auth.c | 34 const char * const user, 94 auth_packet->user = user; 156 const char * const user, 212 auth_packet->user = user; 275 /* if we get conn->user as parameter and then we first free it, then estrndup it, we will crash */ 276 tmp = mnd_pestrndup(user, user_len, conn->persistent); 277 if (conn->user) { 278 mnd_pefree(conn->user, con 33 mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags, unsigned int server_charset_no, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len TSRMLS_DC) argument 155 mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn, const char * const user, const size_t user_len, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_bool silent, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len TSRMLS_DC) argument 358 mysqlnd_native_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument 418 mysqlnd_pam_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument 571 mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument [all...] |
| H A D | mysqlnd_wireprotocol.h | 96 const char *user; member in struct:st_mysqlnd_packet_auth 101 /* Here the packet ends. This is user supplied data */
|
| H A D | mysqlnd.c | 58 "store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords " 132 if (conn->user) { 133 mnd_pefree(conn->user, pers); 134 conn->user = NULL; 516 const char * const user, 589 auth_plugin->methods.get_auth_data(NULL, &scrambled_data_len, conn, user, passwd, passwd_len, 595 ret = mysqlnd_auth_handshake(conn, user, passwd, passwd_len, db, db_len, options, mysql_flags, 604 ret = mysqlnd_auth_change_user(conn, user, strlen(user), passw 514 mysqlnd_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, const char * const auth_protocol, unsigned int charset_no, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags, zend_bool silent, zend_bool is_change_user TSRMLS_DC) argument 649 mysqlnd_connect_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const char * const db, size_t db_len, size_t passwd_len, const MYSQLND_PACKET_GREET * const greet_packet, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags TSRMLS_DC) argument 1109 mysqlnd_connect(MYSQLND * conn_handle, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags TSRMLS_DC) argument [all...] |
| /PHP_5_5/Zend/ |
| H A D | zend_builtin_functions.c | 945 * properties, returned to user */ 1388 Creates an alias for user defined class */ 1420 zend_error(E_WARNING, "First argument of class_alias() must be a name of user defined class"); 1500 Generates a user-level error/warning/notice message */ 1530 Sets a user-defined error handler function. Returns the previously defined error handler, or false on error */ 1558 if (Z_TYPE_P(error_handler) == IS_NULL) { /* unset user-defined handler */ 1594 Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on error */ 1620 if (Z_TYPE_P(exception_handler) == IS_NULL) { /* unset user-defined handler */ 1742 zval *user; local 1749 MAKE_STD_ZVAL(user); [all...] |
| /PHP_5_5/sapi/fpm/fpm/ |
| H A D | fpm_worker_pool.h | 24 char *user, *home; /* for setting env USER and HOME */ member in struct:fpm_worker_pool_s
|
| H A D | fpm_conf.h | 57 char *user; member in struct:fpm_worker_pool_config_s
|
| /PHP_5_5/ext/mysqli/ |
| H A D | mysqli_api.c | 392 If the user has called $stmt->store_result() then we have asked 410 the user has called store_result(). if he does not there is no way to determine the 517 /* {{{ proto bool mysqli_change_user(object link, string user, string password, string database) 518 Change logged-in user of the active connection */ 523 char *user, *password, *dbname; local 530 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Osss", &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbname_len) == FAILURE) { 540 rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, FALSE, (size_t) password_len); 542 rc = mysql_change_user(mysql->mysql, user, password, dbname); 960 QQ: Isn't it quite better to call zval_dtor(). What if the user has 1469 We create always persistent, as if the user wan [all...] |
| /PHP_5_5/ext/mysql/ |
| H A D | php_mysql.c | 722 char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL; local 769 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "SQL safe mode in effect - ignoring host/user/password information"); 772 user=php_get_current_user(TSRMLS_C); 773 hashed_details_length = spprintf(&hashed_details, 0, "mysql__%s_", user); 779 &user, &user_len, &passwd, &passwd_len, 785 &user, &user_len, &passwd, &passwd_len, 794 if (!user) { 795 user = MySG(default_user); 817 hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s_%ld", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags); 887 if (mysql_real_connect(mysql->conn, host, user, passw [all...] |