Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: MYSQLI_OPT_LOCAL_INFILE
Post: RE: MYSQLI_OPT_LOCAL_INFILE

kenjis Wrote: (05-31-2024, 01:50 PM) -- You can: - create your DB driver. See https://forum.codeigniter.com/thread-78294-post-383813.html - send a Pull Request (https://github.com/codeigniter4/Code...
646 Views
8 Replies
05-31-2024, 11:00 PM
martin_ci
    Thread: MYSQLI_OPT_LOCAL_INFILE
Post: RE: MYSQLI_OPT_LOCAL_INFILE

php.ini settings on my localhost are correct (mysql.allow_local_infile=On) but CI somehow establish the connection without that option. As I wrote I can setup the connection manually (outside CI) wit...
646 Views
8 Replies
05-31-2024, 02:19 AM
martin_ci
    Thread: MYSQLI_OPT_LOCAL_INFILE
Post: RE: MYSQLI_OPT_LOCAL_INFILE

kenjis Wrote: (04-11-2024, 06:29 PM) -- You can get MySQLi object. When CI4 MySQLi connection does not yet connect to MySQL server. $db     = db_connect(); $mysqli = $db->connect(); d($mysqli);...
646 Views
8 Replies
05-30-2024, 11:45 PM
martin_ci
    Thread: Problem "LOAD DATA LOCAL INFILE is forbidden"
Post: Problem "LOAD DATA LOCAL INFILE is forbidden"

Hi there! I'd like to import data from a csv file into a mysql database. To do so I run a sql like "LOAD DATA LOCAL INFILE 'xyz.csv' INTO TABLE `abc`" but then getting the error "LOAD DATA LOCAL IN...
205 Views
0 Replies
05-30-2024, 01:28 PM
martin_ci
    Thread: Regex for group names requires an '/'
Post: RE: Regex for group names requires an '/'

Mni.day Wrote: (04-11-2023, 11:24 AM) -- PHP Code: -- '(?!admin).*?' -- -- That's it. Thanks a lot! Couldn't figure that out from the regex docs...
824 Views
2 Replies
04-12-2023, 12:33 AM
martin_ci
    Thread: Regex for group names requires an '/'
Post: Regex for group names requires an '/'

Hi there! I'd like to group some routes not starting with a certain word/segment (like "admin"). To do so I defined in the Config/Routes.php a group like $routes->group('(?!admin)', function($routes)...
824 Views
2 Replies
04-09-2023, 11:17 PM
martin_ci
    Thread: How except filters correctly
Post: How except filters correctly

Hi there! I have problems to set up filters in Config\Filters.php. The $gobals and $filters are handled within the Filter\Filter.php (processGlobals() and processFilters()). Somewhere I read to excep...
638 Views
0 Replies
03-22-2023, 10:19 PM
martin_ci

Theme © iAndrew 2016 - Forum software by © MyBB