Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: can you explain why have to add ""array" in loop array session codeigniter 4.4.1 ?
Post: RE: can you explain why have to add ""array" in lo...

kenjis Wrote: (09-11-2023, 03:11 AM) -- I don't get what you say or your code. What is $newdata? i dont know how to explain but you can explain for me how to write foreach (array($_SESSION['produc...
511 Views
5 Replies
09-11-2023, 06:37 PM
startup
    Thread: can you explain why have to add ""array" in loop array session codeigniter 4.4.1 ?
Post: RE: can you explain why have to add ""array" in lo...

kenjis Wrote: (09-10-2023, 11:47 PM) -- What is $_SESSION['product']? $data['product'] = $this->session->set($newdata); return view('welcome',$data); is -- in controller PHP Code: -- $data['pro...
511 Views
5 Replies
09-11-2023, 02:30 AM
startup
    Thread: can you explain why have to add ""array" in loop array session codeigniter 4.4.1 ?
Post: can you explain why have to add ""array" in loop a...

today i test session  codeingiter 4.4.1 code below: controller PHP Code: -- $newdata = [     'username'  => 'johndoe',     'email'    => '[email protected]',     'logged_in' => true, ]; ...
511 Views
5 Replies
09-10-2023, 10:46 PM
startup
    Thread: error update form 4.3.7 to 4.4
Post: error update form 4.3.7 to 4.4

i update to 4.4 , codeigniter 4.4 info message: "Fatal error: Uncaught Error: Undefined constant "CodeIgniter\ENVIRONMENT" in H:\HELPER\SERVER\htdocs\ciall\ci4\ci43\vendor\codeigniter4\framework\syste...
5,651 Views
13 Replies
08-25-2023, 12:57 AM
startup
    Thread: How to upload file .mdf,.ldf file size 1gb in codeigniter 4.3.6
Post: RE: How to upload file .mdf,.ldf file size 1gb in ...

datamweb Wrote: (06-27-2023, 10:28 AM) -- Check upload_max_filesize in file php.ini. Make sure the volume is set to 1GB. my server allow upload to 3gb --
547 Views
5 Replies
06-27-2023, 06:26 PM
startup
    Thread: How to upload file .mdf,.ldf file size 1gb in codeigniter 4.3.6
Post: How to upload file .mdf,.ldf file size 1gb in code...

can someone show me how to error in  code below? i am doing file backup sql in server but codeigniter 4.3.6  dont valid file upload PHP Code: -- public function multipleUpload(){       $validationRul...
547 Views
5 Replies
06-27-2023, 01:58 AM
startup
    Thread: zip of CodeIgnitor 1.5.4 ?
Post: RE: zip of CodeIgnitor 1.5.4 ?

2.2.6 (https://github.com/rhivent/master_codeigniter2)
535 Views
6 Replies
06-12-2023, 07:50 PM
startup
    Thread: Is there a CodeIgniter function for returning the first row in a query?
Post: RE: Is there a CodeIgniter function for returning ...

saratWoltya Wrote: (05-31-2023, 08:57 PM) -- Is there a CodeIgniter function available to directly return the first row when performing a database query that should only result in one row? Currently,...
631 Views
3 Replies
06-12-2023, 07:46 PM
startup
    Thread: How to multiupload to create zip file in codeigniter 4.35
Post: How to multiupload to create zip file in codeignit...

i have function below: PHP Code: -- public function multipleUpload()     {         $filesUploaded = 0;         if($this->request->getFileMultiple('fileuploads'))         {             $files = $thi...
345 Views
1 Replies
05-21-2023, 07:00 PM
startup
    Thread: How to remove folder name image in codeigniter 4.3.4
Post: How to remove folder name image in codeigniter 4.3...

PHP Code: -- can someone show me how to remove folder name in upload file image in ci 4.3.4 $img = $this->request->getFile('userfile');                 $img->move(FCPATH . '/public/assets/upload/' ...
469 Views
1 Replies
05-17-2023, 08:34 PM
startup
    Thread: what happen is error with redirect to codeigniter 4.3.3
Post: what happen is error with redirect to codeigniter ...

i have function below, but redirect() ->to('auth/home'); dont work, can someone show me what is error? Code: -- 404 Sorry! Cannot seem to find the page you were looking for. -- PHP Code: -- pu...
2,741 Views
5 Replies
04-04-2023, 12:04 AM
startup
    Thread: How to upload file rar,zip,mp4,pdf,mov,avi,webm, in codeigniter 4.3.2
Post: How to upload file rar,zip,mp4,pdf,mov,avi,webm, i...

i test upload file but don't work file rar zip in codeigniter, can someone show me how to do and change path  upload , now upload file  in writeable folder, i want to convert to public/uploads/zip_fil...
709 Views
1 Replies
03-24-2023, 09:36 PM
startup
    Thread: How to form open run follow ip or localhost in ci 4.3.2
Post: RE: How to form open run follow ip or localhost in...

[quote pid="407947" dateline="1679379228"] Code: -- thank kenji, done -- [/quote]
579 Views
2 Replies
03-20-2023, 11:16 PM
startup
    Thread: How to form open run follow ip or localhost in ci 4.3.2
Post: How to form open run follow ip or localhost in ci ...

today i test form_open but url alway  localhost, i want form_action run ip address or localhost below if i write http://localhost:8080/ciall/ci4/fast/uploadFile Code: -- -- if i write http://1...
579 Views
2 Replies
03-20-2023, 10:58 PM
startup
    Thread: How to set dynamic url in Codeigniter 4?
Post: RE: How to set dynamic url in Codeigniter 4?

I only use virtual host in ci 4.3.2 working perfect
3,118 Views
9 Replies
03-16-2023, 08:16 PM
startup
    Thread: How to set dynamic url in Codeigniter 4?
Post: RE: How to set dynamic url in Codeigniter 4?

cijagani Wrote: (03-14-2023, 11:34 AM) -- Q : how to set dynamic url in Codeigniter 4 ? let's assume that  i have following informations / configurations are ready  one domain : ci4multitenant....
3,118 Views
9 Replies
03-14-2023, 08:41 PM
startup
    Thread: can someone show me how to get min max in array?
Post: can someone show me how to get min max in array?

i have a array below: PHP Code: -- Array (       [f_price] => Array         (             [0] => 1000000,2900000             [1] => 3000000,5900000         ) ) -- i want  to get 1. ...
434 Views
1 Replies
03-10-2023, 08:47 PM
startup
    Thread: how to edit custom pagination 4.3.2 like this
Post: how to edit custom pagination 4.3.2 like this

can you show me how to edit custom pagination 4.3.2 show like Code: --                                 1                     2                                 3               ...
728 Views
2 Replies
03-03-2023, 11:18 PM
startup
    Thread: click next pagination go to 2 page on url codeigniter 4.3.2
Post: RE: click next pagination go to 2 page on url co...

kenjis Wrote: (03-03-2023, 03:17 AM) -- See https://codeigniter4.github.io/CodeIgniter4/libraries/pagination.html#getprevious-getnext thank you #kenjis i follow link you , now working perfectly --
954 Views
2 Replies
03-03-2023, 09:22 PM
startup
    Thread: click next pagination go to 2 page on url codeigniter 4.3.2
Post: click next pagination go to 2 page on url codeig...

my controller PHP Code: --     $page=(int)($this->request->getGet('page'));             if(empty($page) || $page == 1)             {                 $i=0;             }else{                 $i=...
954 Views
2 Replies
03-03-2023, 01:45 AM
startup

Theme © iAndrew 2016 - Forum software by © MyBB