Home
last modified time | relevance | path

Searched refs:local_infile_directory (Results 1 – 16 of 16) sorted by relevance

/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_loaddata.c153 const char* local_infile_directory = conn->options->local_infile_directory; in mysqlnd_handle_local_infile() local
154 bool is_local_infile_dir_set = local_infile_directory != NULL; in mysqlnd_handle_local_infile()
174 php_stream *stream = php_stream_opendir(local_infile_directory, REPORT_ERRORS, NULL); in mysqlnd_handle_local_infile()
189 if (php_check_specific_open_basedir(local_infile_directory, filename) == -1) { in mysqlnd_handle_local_infile()
H A Dmysqlnd_connection.c254 if (conn->options->local_infile_directory) { in MYSQLND_METHOD()
255 mnd_pefree(conn->options->local_infile_directory, pers); in MYSQLND_METHOD()
256 conn->options->local_infile_directory = NULL; in MYSQLND_METHOD()
1432 if (conn->options->local_infile_directory) {
1433 mnd_pefree(conn->options->local_infile_directory, conn->persistent);
1437 conn->options->local_infile_directory = NULL;
1439 conn->options->local_infile_directory = mnd_pestrdup(value, conn->persistent);
H A Dmysqlnd_structs.h232 char *local_infile_directory; member
/PHP-8.2/ext/pdo_mysql/
H A Dmysql_driver.c564 const char* local_infile_directory = NULL; local
566 local_infile_directory = H->server->data->options->local_infile_directory;
568 mysql_get_option(H->server, MYSQL_OPT_LOAD_DATA_LOCAL_DIR, &local_infile_directory);
570 if (local_infile_directory) {
571 ZVAL_STRING(return_value, local_infile_directory);
783 …zend_string *local_infile_directory = pdo_attr_strval(driver_options, PDO_MYSQL_ATTR_LOCAL_INFILE_… local
784 if (local_infile_directory && !php_check_open_basedir(ZSTR_VAL(local_infile_directory))) {
785 …ptions(H->server, MYSQL_OPT_LOAD_DATA_LOCAL_DIR, (const char *)ZSTR_VAL(local_infile_directory))) {
786 zend_string_release(local_infile_directory);
790 zend_string_release(local_infile_directory);
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_local_infile_default_off.phpt20 …_get('mysqli.allow_local_infile'), ' ', var_export(ini_get('mysqli.local_infile_directory')), "\n";
H A Dmysqli_local_infile_directory_access_denied.phpt2 mysqli.local_infile_directory access denied
22 mysqli.local_infile_directory={PWD}/foo/bar
H A Dmysqli_allow_local_infile_overrides_local_infile_directory.phpt2 mysqli.allow_local_infile overrides mysqli.local_infile_directory
22 mysqli.local_infile_directory={PWD}/foo/bar
H A Dmysqli_local_infile_directory_vs_open_basedir.phpt2 mysqli.local_infile_directory vs open_basedir
22 mysqli.local_infile_directory={PWD}/../
H A Dmysqli_local_infile_directory_access_allowed.phpt2 mysqli.local_infile_directory vs access allowed
22 mysqli.local_infile_directory={PWD}/foo
H A Dmysqli_phpinfo.phpt46 'mysqli.allow_local_infile', 'mysqli.local_infile_directory',
H A Dbug77956.phpt60 …en, check related settings like mysqli.allow_local_infile|mysqli.local_infile_directory or PDO::MY…
/PHP-8.2/ext/mysqli/
H A Dphp_mysqli_structs.h251 char *local_infile_directory; variable
H A Dmysqli_nonapi.c274 if (MyG(local_infile_directory) && !php_check_open_basedir(MyG(local_infile_directory))) {
275 mysql_options(mysql->mysql, MYSQL_OPT_LOAD_DATA_LOCAL_DIR, MyG(local_infile_directory));
H A Dmysqli.c445 …local_infile_directory", NULL, PHP_INI_SYSTEM, OnUpdateString, local_infile_directory, zend_mysq…
468 mysqli_globals->local_infile_directory = NULL; in PHP_INI_END()
/PHP-8.2/
H A Dphp.ini-development1166 ;mysqli.local_infile_directory =
H A Dphp.ini-production1168 ;mysqli.local_infile_directory =

Completed in 63 milliseconds